Options.PasteFormatWithinDocument property (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. Read/write.
expression An expression that returns an Options object.
Corresponds to the Pasting within the same document option in the Advanced tab of the Word Options dialog box.
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.