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.

Syntax

expression. PasteFormatWithinDocument

expression An expression that returns an Options object.

Remarks

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

See also

Options Object

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.