Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, 2013, 2016, 2019, Excel in Microsoft 365, and 2021. If you are using an earlier version (Excel 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Excel, click here: Saving Changes in the Personal Workbook.
Written by Allen Wyatt (last updated January 6, 2024)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, Excel in Microsoft 365, and 2021
Every time Jason closes Excel, he is asked "Do you want to save the changes you made to the Personal Macro Workbook?" This is supposed to happen if he made a change to Personal.xlsb, but it happens even when he make no changes at all.
More than likely, this comes about because there really are some changes being made to the Personal.xlsb workbook. For instance, the workbook may have a dynamic function in some cell, such as =Now() or =Today(). These are updated immediately after opening a workbook, so Excel thinks there has been a change to the workbook. If such is the case, you will need to make Personal.xlsb visible and remove the dynamic functions. (This assumes, of course, that they are not needed by anything else in the workbook.)
Another place to look for changes is in any macros in the Personal.xlsb workbook. Pay particular attention to macros that automatically run when you first start Excel. These macros may be saving temporary information somewhere within Personal.xlsb, which Excel sees as a change worthy of possibly saving. Check your macros to determine if this is the case.
If this doesn't do it, then get out of Excel and rename the Personal.xlsb file to something else. Start up Excel and use the macro recorder to create a simple macro that you store in Personal.xlsb. This creates a new file, and when you exit Excel you should see the prompt asking if the save should be made. Make the save, exit Excel, restart, and exit again.
If the same problem exists, you know it is not because of the Personal.xlsb file, but due to another cause such as an add-in. You could then try some of the things listed in the Microsoft Office Support:
https://support.office.com/en-us/article/hide-or-show-worksheets-or-workbooks-69f2701a-21f5-4186-87d7-341a8cf53344
If the new Personal.xlsb does not have the problem, copy all the VBA code from the old to the new and test again. If the problem is solved, you can delete the renamed version. If the problem returns it is something with the code, and you can repeat the renaming and retesting, checking each macro until you find the one causing the problem. Its code will have to be changed or deleted.
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (8190) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, Excel in Microsoft 365, and 2021. You can find a version of this tip for the older menu interface of Excel here: Saving Changes in the Personal Workbook.
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!
If you leave your Personal.xlsb workbook visible from one Excel session to another, you may find that you unwittingly ...
Discover MoreThe Personal workbook is special; it is where you can store macros you want to use all the time in Excel. What do you do, ...
Discover MoreIf you start up Excel and all you see is your Personal.xlsb file, then you may wonder what you are doing wrong. The ...
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