TextRange2.PasteSpecial Method
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.
Namespace: Microsoft.Office.Core
Assembly: office (in office.dll)
Syntax
'Declaration
Function PasteSpecial ( _
Format As MsoClipboardFormat _
) As TextRange2
'Usage
Dim instance As TextRange2
Dim Format As MsoClipboardFormat
Dim returnValue As TextRange2
returnValue = instance.PasteSpecial(Format)
TextRange2 PasteSpecial(
MsoClipboardFormat Format
)
Parameters
Format
Type: Microsoft.Office.Core.MsoClipboardFormatDetermines the format for the Clipboard contents when they're inserted into the document.
Return Value
Type: Microsoft.Office.Core.TextRange2
TextRange2