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: Loading Unwanted Files at Startup.

Loading Unwanted Files at Startup

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


Stephen ran into a problem using Excel—every time he starts the program, Excel tries to load all the files in the root directory as spreadsheets. This, of course, messes up his use of Excel.

This problem typically occurs when someone has instructed Excel to load those files. To undo this, follow these steps:

  1. Display the Excel Options dialog box. (In Excel 2007 click the Office button and then click Excel Options. In Excel 2010 and later versions display the File tab of the ribbon and then click Options.)
  2. Click Save at the left side of the dialog box. (See Figure 1.)
  3. Figure 1. The Save options of the Excel Options dialog box.

  4. Make sure the Default File Location option (Excel 2007 and Excel 2010) or Default Local File Location option (Excel 2013 and later versions) is not set to C:\.
  5. Click Advanced at the left side of the dialog box. (See Figure 2.)
  6. Figure 2. The advanced options of the Excel Options dialog box.

  7. In the General section, make sure the "At Startup, Open All Files In" option is not set to C:\.
  8. Click on OK.

The options in steps 3 and 5 represent directories whose files Excel should load whenever you start the program. If you don't want Excel to load any files when it starts, just clear the settings in these options, or make sure they are set to directories that really contain things you want loaded.

It is possible that if one of these options is set to C: (the root directory on a Windows system), and you have a lot of files in the root directory, then Excel will try to load so many files that you won't be able to use it at all in order to perform these steps. If that happens to you, use Windows to move the files from the root directory to a temporary directory, and then start Excel. (You won't have to move any of the folders in the root directory, just files.) Once you change the settings in Excel, as described above, you can use Windows to move the files from the temporary directory back to the root directory.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (6226) 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: Loading Unwanted Files at Startup.

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

Inconsistent Formatting in an Index

When indexing a document, you may find that some of your index entries aren't formatted the save as your other index ...

Discover More

Creating a Plus/Minus Button

Want a quick way to convert positive values to negative and vice versa? You can create your own plus/minus button by ...

Discover More

Shortcut for Em and En Spaces

Typographers know that not all spaces are created equal. When creating a document, most people use spaces created by ...

Discover More

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!

More ExcelTips (ribbon)

Error Opening Second Workbook

If you try to open a second workbook and you see an error message, it could be because of the way you are opening the ...

Discover More

Correctly Saving Delimited Files

Delimited files are often created through Excel so that your data can be exported to other programs. If the delimited ...

Discover More

Aligning Cells when Importing from CSV

When you import information from a CSV text file, Excel formats the data according to its default settings. Wouldn't it ...

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 5 - 5?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)


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.