Written by Allen Wyatt (last updated July 29, 2024)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, and 2021
Martyn was recently auditing a worksheet and found that clicking Trace Precedents or Trace Dependents results in the Undo stack being cleared. He wonders if there is a way to use these auditing tools and not have the Undo stack cleared.
When talking about the Undo stack, it has long been known that running a macro will clear it. Most add-ins will clear the Undo stack as well, but this is related to macros doing the clearing because add-ins most often rely on macros to do their work.
It seems that macros aren't the only triggers for clearing, however, as Martyn has found out. The auditing tools do, indeed, clear the Undo stack. There is no way to turn this off, and the only workaround is to save your workbook often, and if you must use a stack-cleaning command, you may want to save different "development versions" of your workbook, under different names so that you can, if necessary, go back to an earlier version.
This is not much of a workaround in some scenarios, I know, but it is the best that one can offer when it comes to the Undo stack being cleared. You might also consider when you are using the auditing tools—if you can put off their use until a point in workbook development where you are sure you will not need to utilize the Undo stack, that may be the way to go.
You might also consider putting in an "idea" at Microsoft's UserVoice site. This is the site where Microsoft supposedly gets ideas from users about how to improve Excel. You can find the site here:
https://excel.uservoice.com/
In doing a search at the site for "undo stack" I located this previous user suggestion which is directly related to the problem Martyn brings up:
https://excel.uservoice.com/forums/304921-excel-for-windows-desktop-application/suggestions/16149373
The suggestion was created back in September 2016, and since then has garnered 3 votes. This low vote count means that it will probably not make it high on Microsoft's radar for things to change. So, the idea would be for Martyn to not create a new suggestion, but to up-vote the existing suggestion and get like-minded people to do the same.
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (6269) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, and 2021.
Program Successfully in Excel! This guide will provide you with all the information you need to automate any task in Excel and save time and effort. Learn how to extend Excel's functionality with VBA to create solutions not possible with the standard features. Includes latest information for Excel 2024 and Microsoft 365. Check out Mastering Excel VBA Programming today!
You can insert subtotals and totals in your worksheets by using either a formula or specialized tools. This tip explains ...
Discover MoreThe Analysis ToolPak is used to add some very handy capabilities to Excel. If you don't have it installed, and you can't ...
Discover MoreYou've turned on Highlight Changes, but how do you know what has been changed? This tip explains how Excel displays those ...
Discover MoreFREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
2026-02-09 10:30:40
Shelley
That's a great idea! I'd make it even faster by typing "xxx" or some other easy but unique key combination, then searching for that. It's simpler and you don't need to worry about accidentally leaving stray bookmarks around.
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 © 2026 Sharon Parq Associates, Inc.
Comments