Share via


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

Return Value

Type: Microsoft.Office.Core.TextRange2
TextRange2

See Also

Reference

TextRange2 Interface

TextRange2 Members

Microsoft.Office.Core Namespace