Paste Method

Object List Next Object

Defined By:
TextBox

Description:

Paste inserts the contents of the Windows Clipboard into the TextBox at the current cursor position.

Declaration:

Sub Paste ()

Details:

If SelLength is equal to 0, Paste will only insert the contents of the Windows Clipboard at the cursor position. If SelLength is greater the 0, Paste will replace the highlighted text with the Clipboard contents. Text can be placed on the Clipboard from the Cut or Copy methods, or from any other application.

See Also: