Undoes the last change made to the last cell.

Syntax

rv = Send_Message(Ctrl, "OLE.Undo")

Remarks

The Undo method provides you with the ability to programmatically undo the changes made to the last cell. The user, however, always has this ability via the standard CTRL+Z shortcut. Use this method when you wish to tie this ability to a menu option.

Example

// Undo the last changes 
rv = Send_Message(Ctrl, "OLE.Undo")

See Also

CopyCutPaste

  • No labels