Clipboard Instruction/Function
SyntaxGroupClipboard Text$ -or- Clipboard[$][( )]
MiscellaneousDescription
Form 1: Set the clipboard to Text$. This is like the Edit|Copy menu command.Sandbox
Form 2: Return the text in the clipboard.
Sandbox mode blocks this instruction.
Parameters Description Text$ Put this string value into the clipboard.
Sub Main Debug.Print Clipboard$() Clipboard "Hello" Debug.Print Clipboard$() '"Hello" End Sub