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

Removing Breaks

Word allows you to add several types of "breaks" into your document. If you later want to remove any of them, you can use ...

Discover More

Automatic Selection of Portrait or Landscape

Should you print in portrait or in landscape? The decision can greatly affect the way your printout looks. Wouldn't it be ...

Discover More

Referencing Fields in Another Document

Sometimes you may have two documents that are so integrally related to each other that the one document may require the ...

Discover More

Create Custom Apps with VBA! Discover how to extend the capabilities of Office 365 applications with VBA programming. Written in clear terms and understandable language, the book includes systematic tutorials and contains both intermediate and advanced content for experienced VB developers. Designed to be comprehensive, the book addresses not just one Office application, but the entire Office suite. Check out Mastering VBA for Microsoft Office 365 today!

More ExcelTips (ribbon)

Turning Off Sharing

All good things must come to an end at some point. When you are done sharing your workbook with others, this is how you ...

Discover More

Viewing Workbook Statistics

Excel keeps track of a range of stats about each workbook you use. If you want to take a look at those stats, it's easy; ...

Discover More

Limiting Where a Workbook is Used

Want to limit who can use your workbook and on what system? Locking down a workbook can be trickier than you might imagine.

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 two minus 1?

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.