_Application.Undo method

Cancels the last user interface action.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

void Undo()

This method undoes only the last action taken by the user before running the procedure. It must be the first line in the procedure.

Show: