Undoing Actions in Only the Active Workbook

by Allen Wyatt
(last updated September 15, 2018)

5

Brenda often works with multiple workbooks open, at the same time. She'll make some changes in one workbook, then start editing a different one. The undo stack seems to apply across workbooks, but when she's working on any given workbook, she would like to undo only things that she did within that particular workbook. Brenda wonders if there is a way for Excel to keep separate undo stacks for each workbook.

This is a yes-and-no answer. The "no" portion is that you cannot do this in any given instance of Excel. If you have multiple workbooks open, the undo stack works across all workbooks because of cross-workbook references you may have created. In such circumstances, you would want the undo stack to function across workbooks.

As for the "yes" portion, there are two ways you can work around this. First, let's say you have five workbooks open and you've been making edits in all of them. However, you want to undo work in only a single one of those workbooks. You can, at this point, close the other four workbooks. Now you can use the undo stack and it will affect only the one remaining open workbook; those you closed will not be affected. You can then, later, re-open the workbooks you previously closed.

The second approach has to do with how you open and work with your workbooks. Normally, opening a workbook opens it within any existing instance of Excel. If, however, you open workbooks in a separate Excel instance, then those in the one instance are "walled off" (so to speak) from those in other instances. This has to do with how Windows allocates memory to applications such as Excel.

The traditional way to open a new instance of Excel is to make sure you use the Start menu (in Windows) to launch Excel each time you want a new instance. (In other words, don't just double-click on a workbook and don't use the Open command within Excel itself.) You can also create a new instance by holding down the Alt key as you start Excel; this causes the program to ask if you want to start a new session of Excel.

The immediate benefit is that you will have separate undo stacks, one for each instance of Excel that you've started. One potential glitch in this approach is that if there are workbooks that are automatically opened when Excel starts (such as the Personal workbook that holds your common macros), then you may see a warning or error message as you start a new instance of Excel. In most cases this won't cause any problem—at least it doesn't with Personal.xls. There may be other behavior differences you notice, as well, as you copy information from one instance of Excel to another.

The bottom line is that this will take some testing on your part. In doing so, you may find that the benefit of having separate undo stacks is outweighed by the drawbacks inherent in using multiple instances of Excel.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (2082) applies to Microsoft Excel 2007, 2010, 2013, and 2016.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Rounding Numbers

The primary method of rounding values is to use the ROUND function in your formulas. Here's an introduction to this ...

Discover More

Hiding Rows Based on Two Values

It's easy to use filtering to hide rows based on the value in a cell, but how do you hide rows based on the values in two ...

Discover More

Collating Copies

If you are printing more than one copy of a multi-page document, it would be great if Word could print them in complete ...

Discover More

Save Time and Supercharge Excel! Automate virtually any routine task and save yourself hours, days, maybe even weeks. Then, learn how to make Excel do things you thought were simply impossible! Mastering advanced Excel macros has never been easier. Check out Excel 2010 VBA and Macros today!

More ExcelTips (ribbon)

Alt+Enter Stopped Working Correctly

What do you do if a keypress you know worked correctly before all of a sudden stops working as you expect? This tip ...

Discover More

Displaying an Input Format in a Cell

Want to show a user, in a cell, what you expect their input to look like? Unfortuantely it cannot be done natively in ...

Discover More

Deleting All Names but a Few

Want to get rid of most of the names defined in your workbook? You can either delete them one by one or use the handy ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 6 + 2?

2018-09-22 09:14:29

Alex B

Most people I have seen using multiple instances just seem to get themselves into trouble, when they find they can't move/copy sheets between workbooks; copy data between workbooks and find they only have the external copy options (not formulas, values etc); try to do a lookup or other formula to a sheet in another instance and can't. Often not realising they are working across instances.


2018-09-17 12:24:07

Neil

Thanks Allen, very helpful! This has been one of the most frustrating things about working with Excel for me. I imagine I am out of luck only wanting to undo actions in a certain tab in a workbook when other tabs have been edited in the interim.


2018-09-17 10:44:33

Doug Drury

I have an issue with multiple instances of excel opening all the time, but I don't want multiple instances opening. We haven't been able to figure out why I do end up with multiple instances when I open workbooks double clicking on the workbook name in windows explorer, opening a pinned workbook from the start bar, or opening a workbook being sent to me via email. Any thoughts on what could be causing this or things to check?


2018-09-15 22:32:49

Alex B

Most people I have seen using multiple instances just seem to get themselves into trouble, when they find they can't move/copy sheets between workbooks; copy data between workbooks and find they only have the external copy options (not formulas, values etc); try to do a lookup or other formula to a sheet in another instance and can't. Often not realising they are working across instances.


2018-09-15 08:19:07

Willy Vanhaelen

You can also launch a second or next instance of Excel by holding down Shift and clicking the Ecel button on the taskbar.


This Site

Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.