For the ChartSpace and Spreadsheet objects, undoes the last single action or the last macro block surrounded by BeginUndo and EndUndo method calls.
For the DataPage object, restores the data access page to the condition before the recordset was edited, and if the edits have not been saved.
Syntax
expression.Undo
expression An expression that returns a ChartSpace, DataPage, or Spreadsheet object.