Please Note: This article is written for users of the following Microsoft Excel versions: 97, 2000, 2002, and 2003. If you are using a later version (Excel 2007 or later), this tip may not work for you. For a version of this tip written specifically for later versions of Excel, click here: Loading Unwanted Files at Startup.

Loading Unwanted Files at Startup

by Allen Wyatt
(last updated April 22, 2017)

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. Choose Options from the Tools menu. Excel displays the Options dialog box.
  2. Make sure the General tab is selected. (See Figure 1.)
  3. Figure 1. The General tab of the Options dialog box.

  4. Make sure the Default File Location option is not set to C:\.
  5. Make sure the Alternate Startup File Location option is not set to C:\. (In Excel 2002 and Excel 2003, the name of this option is At Startup, Open All Files In.)
  6. Click on OK.

The options in steps 3 and 4 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 (2706) applies to Microsoft Excel 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Excel (Excel 2007 and later) 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

Limiting Scroll Area

If you need to limit the cells that are accessible by the user of a worksheet, VBA can come to the rescue. This doesn't ...

Discover More

Easily Running a Program as the Administrator

In order to run some programs properly in the Windows environment, you'll need to do so using administrator privileges. This ...

Discover More

Calculating a Geometric Standard Deviation

One of the areas in which Excel provides worksheet functions is in the arena of statistical analysis. You may want to ...

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 (menu)

Determining the Length of a Text File

When processing plain text files in a macro, it is often helpful to know how much data the file contains. The normal way to ...

Discover More

Short-Lived Book1

If you have a problem that crops up when you first start Excel, it can be a bear to track down the cause of the problem. ...

Discover More

Importing Huge Data Files

Sometimes, when importing data created by other programs, you may find that there is too much for Excel to handle. Here's how ...

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}] in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 8Mpixels. 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 7 - 0?

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 menu interface (Excel 97, Excel 2000, Excel 2002, or Excel 2003)? This site is for you! If you use a later version of Excel, visit our ExcelTips site focusing on the ribbon 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.