Options.PasteFormatFromExternalSource (Word)

Returns or sets a WdPasteOptions constant that represents how text is pasted when text is copied from an external source, such as a webpage. 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 from other programs option in the Advanced tab of the Word Options dialog box.


Options.PasteFormatFromExternalSource = wdKeepSourceFormatting