Clipboard Instruction/Function

Syntax:

Clipboard Text$

Or

Clipboard[$][( )]

Group:

Miscellaneous

Description: 

Form 1: Sets the clipboard to Text$. This is like the Edit|Copy menu command.

Form 2: Returns the text in the clipboard.

Parameters:

Parameter

Description

Text$

Put this string value into the clipboard.

Example:

Sub Main
  Debug.Print Clipboard$()
  Clipboard "Hello"
  Debug.Print Clipboard$() '"Hello"
End
Sub