Options.PasteFormatWithinDocument (Word)

Returns or sets a WdPasteOptions constant that represents how text is pasted when text is copied or cut and then pasted in the same document. Possible return values are wdKeepSourceFormatting - Keeps formatting from the source document, wdKeepTextOnly - Keeps text only, without formatting, wdMatchDestinationFormatting - Matches formatting to the destination document, wdUseDestinationStyles - Matches formatting to the destination document using styles for formatting.

Corresponds to the Pasting within the same document option in the Advanced tab of the Word Options dialog box.


Options.PasteFormatWithinDocument = wdKeepSourceFormatting