Copies the contents of an object to the Clipboard.
Syntax
object.Copy
The Copy method syntax has these parts:
Part | Description |
---|---|
object | Required. A valid object. |
Remarks
The original content remains on the object.
The actual content that is copied depends on the object. For example, on a Page, the Copy method copies the currently selected control or controls. On a TextBox or ComboBox, it copies the currently selected text.
Using Copy for a form, Frame, or Page copies the currently-active control.