Opening Workbooks at Startup

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


4

David needs two workbooks automatically opened when he starts Excel. He put the two workbooks in a folder and then entered the path to that folder in the Advanced tab of the Excel Options dialog box, under the General section. Excel won't load the files, however. He gets no messages; Excel just opens a blank workbook. David wonders how he can get Excel to open the two workbooks he needs.

The important thing to understand is that Excel actually has two places where you can place workbooks that you want opened when Excel starts. One place has already been identified by David; the other place is what is referred to as the XLSTART folder. The path to the folder depends on your version of Excel, but you should be able to always get to it by using this path:

%appdata%\Microsoft\Excel\XLSTART

This is a set location, never varying from system to system. (Though the full path varies by version.) This differs from the "At startup, open all files in" setting that David mentioned. With two startup locations, though, the natural question is how these locations differ.

Honestly, there isn't much difference, other than one is automatic (XLSTART) and the other requires a configuration setting. It is this difference, though, that can be crucial. When setting the "At startup, open all files in" path, there can be issues if:

  • The path is misspelled or entered incorrectly
  • The path doesn't include a drive letter
  • The path points to a folder that is later moved or deleted
  • The path points to a network drive that is unavailable

In cases such as this, Excel will not issue a warning or error notice; it just bypasses loading and displays a blank workbook, as David is seeing. Because XLSTART is in a known location, issues related to path specifications do not occur; if a workbook is in the XLSTART folder, it is always loaded.

There are some guidelines that should be followed regardless of whether you are using the XLSTART folder or another folder ("At startup, open all files in"):

  • Make sure that the workbooks are not corrupted; they should be loadable.
  • Don't store any non-Excel files in the folders.
  • Don't create any subfolders in the folders.
  • If there are identically named workbooks in both locations, the one in XLSTART is the one that will be opened.
  • Opening Excel in Safe Mode will bypass any automatic loading.

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

Automatic Question Numbering

Want to use Word's numbering capabilities to help you number a series of questions? Here's how to accomplish the task as ...

Discover More

Adding a Macro to a Toolbar

A great way to customize Excel is to add your macros to a toolbar. That way you can run them quickly and easily.

Discover More

Making Bookmarks Bold

Do you want an easy way to see all the bookmarks in your document? Word provides a way to make them visible, or you can ...

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)

Seeing All Open Workbook Names

Ever want to see a list of all the workbooks that are open? If you open more than nine, Excel only displays the first ...

Discover More

Needing to Save a Workbook Twice

If you save a workbook and then immediately close the workbook, Excel may ask you to save again. This tip looks at ...

Discover More

Seeing a Worksheet Thumbnail in Windows

When you save a workbook, you have the opportunity to save a thumbnail image that can be displayed within Windows. Here's ...

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

2026-04-05 10:46:55

jamies

Tomek,
Thanks for the detailed information


2026-04-05 01:46:48

Tomek

This tip provides a solution that David asked for, but is it really what he wants? The files in the specified locations will always open when you start Excel, even if you want to open only a specific file by double-clicking on it in File Explorer. I think a better solution is to go to the directory with all the files you want to open, selecting them, and then opening them by right-click->open or just pressing <ENTER>. This will do what David wanted only when he wants it, not every time. You can also create a batch file that will open any specified files. The syntax for such file is a bit tricky: you cannot just use a command line withe the file name - this will open the first file and wait until you finish with it and close Excel. You have to use START command. An example of a batch file to open all .xlsm files in E:\Temp folder is shown below. Make sure to keep all quotation marks:

E:
cd \Temp
for %%a in (*.xlsm) do start "" "%%a"

or to open specified files :

E:
cd \Temp
start "" "File 1.xlsm"
start "" "File 2.xlsx"


2026-04-05 01:27:43

Tomek

There are actually two XLSTART locations: User Startup and Excel Startup, that can be identified by looking in Trusted Locations:
(Excel Options- >Trust Center ->Trusted Locations).
The former is user specific the other most likely applies applies to all users.

All files in these locations will load when starting Excel, in addition to files in path that David mentioned.


2026-04-04 11:01:26

jamies

And BEWARE of files with "Excel" created names such as Book1.xlsx being on the Desktop !


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.