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

Unselecting a Chart Item

When formatting a chart, you select elements and then change the properties of those elements until everything looks just ...

Discover More

Converting All DATE Fields to Text

Fields allow you to add a lot of dynamic information to your documents. One field you can add is the DATE field, which ...

Discover More

Getting User Input in a Dialog Box

Want to grab some interactive input from a user in your macro? The best way to do that is with the InputBox function, ...

Discover More

Excel Smarts for Beginners! Featuring the friendly and trusted For Dummies style, this popular guide shows beginners how to get up and running with Excel while also helping more experienced users get comfortable with the newest features. Check out Excel 2019 For Dummies today!

More ExcelTips (ribbon)

Closing a Read-Only Workbook

When you create a workbook that is read-only, users can still make changes to the workbook. When they exit, they are ...

Discover More

Making Data Universally Accessible to Workbooks

If you are using Excel as a repository for data used in your business, you may want to figure out a way to make that ...

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 nine more than 4?

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.