TextRange2.PasteSpecial(MsoClipboardFormat) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public:
Microsoft::Office::Core::TextRange2 ^ PasteSpecial(Microsoft::Office::Core::MsoClipboardFormat Format);
public Microsoft.Office.Core.TextRange2 PasteSpecial (Microsoft.Office.Core.MsoClipboardFormat Format);
abstract member PasteSpecial : Microsoft.Office.Core.MsoClipboardFormat -> Microsoft.Office.Core.TextRange2
Public Function PasteSpecial (Format As MsoClipboardFormat) As TextRange2
Parameters
- Format
- MsoClipboardFormat
Determines the format for the Clipboard contents when they're inserted into the document.
Returns
TextRange2