none
About MS word copy and paste options RRS feed

  • Question

  • Actually in word 2010 while paste any text its showing paste options like below .

     

    Is there any events are available in c# to choose these options manually? if its there  Help me please.

    Friday, December 16, 2011 12:51 PM

Answers

  • Hi Naga

    Look at the Range.PasteAndFormat as well as the Range.PasteSpecial methods. Those take Enum values that determine how Clipboard content should be inserted.

    There are also a whole slew of "Paste" Options. It might be a good idea to start Word VBA Editor (Alt+F11), open the Object Browser (F2) and search on the term Paste. That's going to be the best way to get an overview of everything that's available.

    Right click on an item and select the "Help" entry from the context menu to read the help topic associated with any of the terms.


    Cindy Meister, VSTO/Word MVP
    • Marked as answer by Naga vardhan K Monday, December 19, 2011 5:58 AM
    Friday, December 16, 2011 5:11 PM
    Moderator