How to Use the Undo Feature with Inserted Objects
Each Office program includes an Undo command. When you use this command, you can undo certain actions after you perform them. For example, if you type a value in an Excel worksheet cell, you can undo the action. To use the Undo command, do either of the following:- For Office 2003 or earlier versions, click Undo on the Edit menu.
- For Office 2007 or earlier verions, click the Undo button on the Quick Access Toolbar.
However, when you insert an object into another program, the undo stack may be cleared when you deactivate and reactive the object.
Microsoft Word Document Objects
When you insert a Microsoft Word document into another program, make changes to the document, deactivate the document object, and then reactivate the document object, the undo stack is not cleared. As a result, you can still undo changes that you previously made to the Word document object.Microsoft Excel Worksheet Objects and Chart Objects
When you insert an Excel worksheet object or chart object into another program, make changes to the worksheet, deactivate the worksheet object, and then reactivate the worksheet object, the undo stack is cleared. You cannot undo changes that you previously made to the Excel worksheet or chart object.Microsoft PowerPoint Presentation Objects
When you insert a PowerPoint presentation object into another program, make changes to the presentation, deactivate the presentation object, and then reactivate the presentation object, the undo stack is cleared. You cannot undo changes that you previously made to the PowerPoint presentation object.Microsoft Access Database Objects
You cannot insert a Microsoft Access database object into another program.Example
The following example demonstrates the behavior of the undo stack when you insert an Excel worksheet object into a Word document:- Start Word, and then create a new document.
- In Word 2003 or earlier versions, click Object on the Insert menu.
In Word 2007, on the Insert tab, click Object. - In the Object type list, click Microsoft Excel Worksheet, and then click OK.
- In the Excel worksheet object, type values in some of the cells. When you finish typing, click any cell in the worksheet object.
- Click the arrow next to the Undo button on the toolbar.
Note that the list contains several items, such as Typing 'value' in cell, where value is the value that you typed and cell is the cell that contains the value. - Deactivate the worksheet object. To do so, click an empty area of the Word document.
- Reactivate the worksheet object. To do so, double-click the worksheet object.
- Click the arrow next to the Undo button on the toolbar.
Note that the list displays only one item, which is named Last.
If you insert a Word document object into another program, deactivate and then reactivate the document object, the undo stack is not cleared. The Undo list contains all of the same items after you reactivate the document object.