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

Putting Document Names in Headers or Footers

Want to include the file name of a document on the printed copy without rearranging the layout? You can use a header or ...

Discover More

Shortcut for Selecting a Data Range

Want to select all the data in a contiguous section of a worksheet? The shortcut discussed in this tip makes it very easy.

Discover More

Remembering Copies to Print

If you routinely need to print more than one copy of a document, you'll love the ideas presented in this tip. There's ...

Discover More

Program Successfully in Excel! This guide will provide you with all the information you need to automate any task in Excel and save time and effort. Learn how to extend Excel's functionality with VBA to create solutions not possible with the standard features. Includes latest information for Excel 2024 and Microsoft 365. Check out Mastering Excel VBA Programming today!

More ExcelTips (ribbon)

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

Determining If a Workbook is Referenced by Another Workbook

It is a difficult task, in Excel, to determine if a workbook is the target of any external links. This tip examines some ...

Discover More

Remembering Workbook Position and Size

Want Excel to remember where your workbooks were located on the screen and then open them in the same position the next ...

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 seven more than 2?

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.