Tracing Precedents and Dependents Clears Undo Stack

Written by Allen Wyatt (last updated July 29, 2024)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, and 2021


1

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.

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

Capitals After Colons

Do you want Word to always capitalize the first letter appearing after a colon? The program won't do it by default, but ...

Discover More

Working with Document Links

Word makes it easy to establish links between documents. Here's how to change and manage those links easily.

Discover More

Nudging a Graphic

Want to get a graphic to just the right position on a worksheet? Sometimes the easiest way is to use the arrow keys on ...

Discover More

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!

More ExcelTips (ribbon)

Using Subtotals and Totals

You can insert subtotals and totals in your worksheets by using either a formula or specialized tools. This tip explains ...

Discover More

Finding the Analysis ToolPak Add-In

The Analysis ToolPak is used to add some very handy capabilities to Excel. If you don't have it installed, and you can't ...

Discover More

Making Revisions

You've turned on Highlight Changes, but how do you know what has been changed? This tip explains how Excel displays those ...

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}] (all 7 characters, in the sequence shown) 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 seven more than 1?

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.


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.