TextBox.CanPaste Property (Outlook Forms Script)

Returns a Boolean that specifies whether the Clipboard contains data that the object supports. Read-only.

Syntax

expression .CanPaste

expression A variable that represents a TextBox object.

Remarks

True if the object can receive information pasted from the Clipboard, False if the object cannot receive information pasted from the Clipboard.

CanPaste is read-only.

If the Clipboard data is in a format that the object does not support, the CanPaste property is False. For example, if you try to paste a bitmap into an object that only supports text, CanPaste will be False.