Clipboard Instruction/Function
Syntax
Clipboard Text$
-or-
Clipboard[$][( )]
Group
Description
Form 1: Set the clipboard to Text$. This
is similar to the Edit|Copy menu command.
Form 2: Return the text in the clipboard.
Parameter | Description |
---|---|
Text$ | Put this string value into the clipboard. |
Example
Sub Main
Debug.Print Clipboard$()
Clipboard "Hello"
Debug.Print Clipboard$() '"Hello"
End Sub