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

Saving Custom Formats

While the implementation of custom formats in Excel is not terribly robust, you can still achieve some amazing results ...

Discover More

Adjusting How Quickly Your Keyboard Responds

Does your keyboard seem a bit sluggish or a bit too quick when you hold down keys? You can adjust how the keyboard ...

Discover More

Replacing and Renumbering

Word has a powerful find and replace capability that can help you perform quite a few changes to your documents. This tip ...

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)

Invalid Names when Opening Workbook

Don't you hate opening a workbook and seeing error messages? If you see a message that some "invalid names" were detected ...

Discover More

Creating a Dated Backup File

As you are developing your workbooks, you might want a way to automatically create backup files that include a date and ...

Discover More

Adding a File Path and Filename

If you need to stuff the current workbook's filename and path into a cell or a header or footer, you'll appreciate 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 8 + 7?

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.