Share via


TextRange2.PasteSpecial Method

Office Developer Reference

Replaces the text range with the contents of the Clipboard in the format specified. If the paste succeeds, this method returns a TextRange2 object including the text range that was pasted.

Syntax

expression.PasteSpecial(Format)

expression   An expression that returns a TextRange2 object.

Parameters

Name Required/Optional Data Type Description
Format Required MsoClipboardFormat Determines the format for the Clipboard contents when they're inserted into the document.

Return Value
TextRange2

See Also