GetFromClipboard method (Microsoft Forms)

Copies data from the Clipboard to a DataObject.

Syntax

String = object. GetFromClipboard( )

The GetFromClipboard method syntax has these parts:

Part Description
object Required. A valid object name.

Remarks

The DataObject can contain multiple data items, but each item must be in a different format. For example, the DataObject might include one text item and one item in a custom format; but cannot include two text items.

See also

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.