Written by Allen Wyatt (last updated July 9, 2022)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, Excel in Microsoft 365, and 2021
Marie often works with a large number of workbooks open at the same time. As she is editing the various workbooks and worksheets, she regularly has to use Undo (Ctrl+Z) to undo an action. Marie wonders if it is possible to have the scope of the Undo command be limited to only the active worksheet or workbook. In other words, if she makes 2 edits on Sheet1, then 1 edit on Sheet2, then switches back to Sheet1, could Undo not pay attention to the edit she made on Sheet2 since that worksheet is no longer active.
The short answer is that this is not possible, particularly if Sheet1 and Sheet2 are in the same workbook. (More on the idea of separate workbooks in a moment.) Excel keeps only a single undo stack, and it is quite strict in stepping through that stack sequentially. It is a safe bet that this is the case because you may want to not only undo actions but possible to redo them after they were initially undone. The sequential action stack (undo stack) makes such actions possible.
As for the case of separate workbooks, it is possible to do what Marie wants if you open each workbook in its own instance of Excel. This, of course, requires more resources as separate instances means completely separate copies of Excel being in memory. It also changes how the workbooks interact with each other when it comes to editing. Because each instance of Excel operates independently of other instances, then each instance maintains its own undo stack and, therefore, undoing an action in one instance of Excel won't affect a workbook in a different instance of Excel. The big thing to keep in mind is that you cannot open the same workbook in different instances of Excel.
If you are interested in understanding more about what it means to work with multiple Excel instances, you'll find this article helpful:
https://answers.microsoft.com/en-us/msoffice/forum/all/what-are-excel-instances-and-why-is-this-important/20c39a6f-0857-4033-b713-18bf72e91d8b
If you want to configure Excel so that it always opens your workbooks in different instances of the program, then this article will be helpful:
https://docs.microsoft.com/en-us/office/troubleshoot/excel/force-excel-to-open-new-instance
Remember that each instance of Excel you open increases the load on your computer. Thus, you may find that using multiple instances works great if you are opening a half dozen or fewer workbooks. However, it may not work so well if you need to open 20 or 30 workbooks. Only testing will determine the impact that multiple instances will have on your system.
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (12926) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, Excel in Microsoft 365, and 2021.
Excel Smarts for Beginners! Featuring the friendly and trusted For Dummies style, this popular guide shows beginners how to get up and running with Excel while also helping more experienced users get comfortable with the newest features. Check out Excel 2013 For Dummies today!
Have you ever copied information from one worksheet to another, only to have the information you paste not look the way ...
Discover MoreExcel makes it easy to delete rows in a worksheet, but it can be more difficult to figure how to delete rows if you only ...
Discover MoreNeed to enter the current time into a cell? It's easy to do using this keyboard shortcut. The shortcut is a handy one to ...
Discover MoreFREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)
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.
FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
Copyright © 2024 Sharon Parq Associates, Inc.
Comments