by Allen Wyatt
(last updated April 10, 2021)
Raffaele has macros in his Personal workbook. If he assigns these macros to buttons on the ribbon, after a while (a few hours up to a full day) the buttons disappear. The macros are still there; it is just the buttons that disappear from the ribbon. Raffaele wonders how he can prevent this.
It is entirely possible that your Personal workbook is being overwritten without your knowledge. This should only happen if you are connected to a network and someone else is responsible for your network, though it may happen if you have the Personal workbook stored on a "drive" that is actually in the cloud, such as with OneDrive or with Dropbox. In any of these situations, if someone else accesses your Personal workbook and that access results in it being overwritten, then your changes would be in danger.
It is also possible that your Personal workbook is corrupted in some way. The easiest way to figure this out is to locate, within Window and while Excel is shut down, the Personal workbook and rename it to something else. Then, restart Excel, add a macro or two, make your ribbon changes, and save those changes. Monitor your system for a couple of days and see if the problem crops up again.
Finally, you may want to check your macros to see if there is a scoping issue being manifest. If you assign a macro to the Quick Access Toolbar, you can indicate if the macro should be accessible from All Documents or just from the currently active workbook. If you give the change a limited scope, then you may believe that the change is not "holding," when in fact it is simply not visible in whatever workbook you may have open at the time.
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (13846) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, and Excel in Microsoft 365.
Professional Development Guidance! Four world-class developers offer start-to-finish guidance for building powerful, robust, and secure applications with Excel. The authors show how to consistently make the right design decisions and make the most of Excel's powerful features. Check out Professional Excel Development today!
You type information in a cell and press Enter. What happens then? Excel allows you to specify exactly what should ...Discover More
Some people like zero values displayed; others do not. Excel allows you to easily turn the display on or off for a single ...Discover More
The Formula bar is used to display the formula that appears in a cell. You may want to modify how the Formula bar is ...Discover More
FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
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.