GetText

This method returns a text string from the Clipboard object.

Syntax

clipboard.GetText([format])

Parameters

clipboard
Required. Reference to a Clipboard object.
format
Optional. Value or constant that specifies the Clipboard object format. Parentheses must enclose the constant or value. The following table describes the settings for format.
Constant
Value
Description
vbCFText 13 Text (Default)

Return Value

None.

Remarks

The only supported data type is Unicode text.