Copies a cell's text to the clipboard and removes it from the cell.
Syntax
rv = Send_Message(Ctrl, "OLE.Cut", Cell)
Parameters
Parameter | Description |
---|---|
Cell | The cell whose text is to be cut, in the format Field:@FM:Record |
Remarks
The Cut method provides you with the ability to programmatically copy a single cell's text to the clipboard and clear the cell's text. The user, however, always has this ability via the standard CTRL+X shortcut. Use this method when you wish to tie this ability to a menu option.
Example
// Cut the text of cell (1, 1) rv = Send_Message(Ctrl, "OLE.Cut", 1:@FM:1)