Excel Opens Additional, Unwanted Files

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


1

Chris indicates that his Excel has developed a strange quirk in that when he loads an existing XLSX file, the program also starts loading nine XSLB files named 1.XSLB thru 6.XSLB and X.XSLB thru Z.XSLB, all of which are considered read-only. None of these files, so far as Chris can locate, appear to actually exist, and he cannot figure out a way to stop this behavior.

It is unclear whether Chris's problem is exhibited when (1) starting Excel, (2) opening any workbook, or (3) opening a specific workbook. Because of that, there are multiple things you can and should try.

First, Excel has a special folder called XLSTART. Any workbook in this folder is automatically loaded whenever you start Excel. You can use the search capabilities of Windows to locate the folder, or you can open the VBA Editor (Alt+F11) and, in the Immediate window enter this:

? Application.StartupPath

Once you navigate to the XLSTART folder, check to see if it contains any of the unwanted files. If so, your task is done and you can either delete those files or move them somewhere else.

The XLSTART folder is not the only place, though, from which workbooks can be automatically loaded. Once you are sure the files aren't in XLSTART, refer to this tip for help in finding the other locations you should check:

https://tips.net/T12690

The special folders used by Excel may not be the only way that things are opened, however. The following tip details other ways (including outside of Windows) in which workbooks could be automatically opened:

https://tips.net/T13698

If you work through all the places and methods described in that tip, you might find the offending workbooks.

You could also let all the offending workbooks open and then, with one of the workbooks visible, click the File tab of the ribbon and then click on Info. Here you can find out the path to the file on disk, or you can click on the Copy Path button to copy the full path to the workbook. That could easily help you track down where the file is located.

Finally, it could be that the workbooks are being opened based on an unknown macro executing in the background. The easiest way to figure out if this is the case is to start Excel in safe mode, which means that no automatic macros are executed. To do this, first make sure Excel is not running. If it is, exit the program entirely. Then, press Win+R to display the Run dialog box. In the box, type the following:

excel.exe /s 

When you press Enter, Excel starts, but in safe mode. You know you are in safe mode because the words "Safe Mode" appears in the title bar. (See Figure 1.)

Figure 1. Running in safe mode.

You can use Excel as you normally would, and then exit the program. The next time you start the program—without the safe mode switch—it runs as it normally does.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (13937) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, 2021, 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

Inserting the Date Your Document Was Last Printed

Word keeps track of each time you print your document, and you can automatically insert the last printing date anywhere ...

Discover More

Triggering an Event when a Worksheet is Deactivated

One way you can use macros in a workbook is to have them automatically triggered when certain events take place. Here's ...

Discover More

Using the SYMBOL Field

The most common way of adding symbols to a document is to use the Symbol dialog box. There is another way, however, that ...

Discover More

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!

More ExcelTips (ribbon)

Creating Default Formatting for Workbooks and Worksheets

Not satisfied with the way that default workbooks and worksheets look in Excel? You can easily create your own defaults ...

Discover More

Making Changes in a Group of Workbooks

If you need to change the same data in a large number of workbooks, the task can be daunting. Here are some ideas (and ...

Discover More

Strange Message about Others Making Changes in a Workbook

Have you ever tried to save a workbook, only to be notified that someone else has made changes in it? What if you are the ...

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 one less than 9?

2024-08-17 06:01:32

Ron S

Simpler way to start Office apps in Safe Mode. Hold down the CTL key while starting the app.
https://support.microsoft.com/en-us/office/open-office-apps-in-safe-mode-on-a-windows-pc-dedf944a-5f4b-4afb-a453-528af4f7ac72


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.