Written by Allen Wyatt (last updated August 3, 2024)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, 2021, and Excel in Microsoft 365
David decided that he wanted to create default templates for Excel. He created both book.xltx and sheet.xltx files and stored both templates in the XLSTART folder. He then restarted Excel, whereupon he was greeted with the message "The file is not in a recognizable format." If he clicks OK, the workbook opens, appearing as garbage. After a fraction of a second, another window opens, displaying a blank worksheet with the expected formatting on the top row and left column. David knows the template is not really corrupted; he can copy it to a different folder and open it just fine in Excel. The error only happens when he puts the templates in the XLSTART folder.
Checking to make sure that the template is not corrupted is a good first step. It is also good that you are trying to store these templates in XLSTART—this is where Excel expects your default templates to be. (This has been discussed in other issues of ExcelTips.) You should also try the following ideas:
If the problem still exists, then you may really have a corrupted file after all. There could be something out of kilter in the file that allows it to be loaded directly into Excel, but doesn't allow it to be loaded as a default template. You can try to fix any minor corruption by saving the file in HTML format, restarting Excel, loading the HTML file, and resaving it as a template.
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (12713) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, 2021, and Excel in Microsoft 365. You can find a version of this tip for the older menu interface of Excel here: Problems with Default Workbook and Worksheet Templates.
Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!
Does your macro need to make sure that the workbook being processed is saved to disk? You can add the saving capability ...
Discover MoreWant to limit who can use your workbook and on what system? Locking down a workbook can be trickier than you might imagine.
Discover MoreDo you need to compare two workbooks to each other? While you can use specialized third-party software to do 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 © 2025 Sharon Parq Associates, Inc.
Comments