Disappearing Ribbon Buttons

Written by Allen Wyatt (last updated April 10, 2021)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, and Excel in Microsoft 365


2

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.

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

Protecting Formulas in Control-Linked Cells

Form controls can be a great way to get information into a worksheet. They are designed to be linked to a cell so that ...

Discover More

Selecting Text Orientation for an Axis in Microsoft Graph

Microsoft Graph allows you to easily create charts from numeric data, without the need to use Excel. This tip explains ...

Discover More

Inserting a Document's Size

Want to insert the size of your document directly into the document body? You can do so by using one of the dynamic ...

Discover More

Solve Real Business Problems Master business modeling and analysis techniques with Excel and transform data into bottom-line results. This hands-on, scenario-focused guide shows you how to use the latest Excel tools to integrate data from multiple tables. Check out Microsoft Excel 2013 Data Analysis and Business Modeling today!

More ExcelTips (ribbon)

Making Page Breaks More Visible

When you view a worksheet in Print Preview, Excel shows you the position of page breaks once you return to the worksheet. ...

Discover More

Disabling Page Layout View

Excel allows you to display your workbooks using a couple of different views. If you want to disable one of the views, it ...

Discover More

Permanently Turning On Set Precision As Displayed

Some people prefer to have what is displayed on the screen in Excel be the precision at which the program works. If you ...

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 two more than 7?

2021-04-11 21:15:01

Tomek

Alternatively, you can use export/import customizations, which is available under Customize the Ribbon or Quick Access Toolbar. For Excel the file created has a default name Excel Customizations.exportedUI and you can store it anywhere on your system.

I don't know if the result of this approach is equivalent to backing-up/restoring .officeUI files. If someone knows a difference please reply to this comment.


2021-04-10 07:01:53

Graham Rice

I have encountered this problem occasionally both in Excel and Word. I have never found the reason, but have been able to create a plan to recover from the situation. My Personal workbook is stored locally on my laptop, with no network or cloud connections.

Ribbon customization files are stored as Excel.officeUI, Word.officeUI, etc files in
C:\Users\User-Name\AppData\Local\Micrososft\Office
In some cases they may be stored like Excel16.officeUI, where "16" refers to Office 2019.

These customization files normally only exist AFTER you have customized a ribbon, they may not exist if you have never customized.
When the disappearance of the ribbon customizations occurs these xxx.officeUI files seem to become corrupted. It may be possible to determine from their "Date Modified" which event caused the problem.

Recovery Plan
==========
1) Create your customizations again, hopefully for the last time.
2) Go to C:\Users\User-Name\AppData\Local\Micrososft\Office
3) Take backup copies of all of the xxx.officeUI files. Store them in another partition or drive.
4) Next time that a customization disappears simple use a backup xxx.officeUI file to replace the corrupted file.


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.