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: Opening Two Workbooks with the Same Name.

Opening Two Workbooks with the Same Name

Written by Allen Wyatt (last updated August 24, 2019)
This tip applies to Excel 97, 2000, 2002, and 2003


2

It is not unusual to have two workbooks, located in different folders, that have the same name. For instance, you could have two folders, one named "Year 2011" and another named "Year 2012." Both folders could contain a workbook file named Budget.xls.

Opening one of the Budget files in Excel is easy. If you try to open the second Budget file while the first is already open, Excel will generate an error. It does this because many of the internal functions used by Excel don't rely on a full path name for their operation, but instead look at only the name of the workbook. Having two workbooks open with the same name would cause these internal functions to become confused. The solution—don't let Excel open the second file that has the same name.

There are a couple of ways around this, however. The first (and obvious) workaround is to rename one or both of the workbook files. In the example above, you could name one file Budget2011.xls and the other Budget2012.xls. With different names, the workbooks will open just fine.

The second workaround is to just open a second instance of Excel. In other words, when you want to open the second Budget file, don't do it by choosing Open from within the program. Instead, use the Windows Start menu to start another copy of Excel. Because of the way that memory and programs are handled by Windows, neither copy of Excel is aware of the other. Thus, you could open the different Budget files (each with the same name) in each of the instances of Excel.

There is one potential glitch if you open a second instance of Excel. If there are workbooks that are automatically opened when Excel starts (such as Personal.xls), then you may see a warning or error message when you start the second instance of Excel. In most cases this won't cause any problem—at least it doesn't with Personal.xls. If you have other workbooks that are automatically opened, you will need to do some testing to see if there are any problems evident. (Potential problems can vary, depending on the content and programming inherent in the workbooks being automatically opened.)

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (2222) 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: Opening Two Workbooks with the Same Name.

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

Making Changes in a Group of Workbooks

If you need to change the same data in a large number of workbooks, the task can be daunting. Here are some ideas (and ...

Discover More

Determining Columns in a Range

If you need to know the number of columns in a particular range, you can use the COLUMNS worksheet function. This tip ...

Discover More

Condensing and Expanding Headings

When working in Outline view, you'll undoubtedly have the need to expand or condense information under your headings. It ...

Discover More

Program Successfully in Excel! John Walkenbach's name is synonymous with excellence in deciphering complex technical topics. With this comprehensive guide, "Mr. Spreadsheet" shows how to maximize your Excel experience using professional spreadsheet application development tips from his own personal bookshelf. Check out Excel 2013 Power Programming with VBA today!

More ExcelTips (menu)

Open Workbooks Don't Display

Have you ever opened a workbook, only to have it not display your worksheet data? This can be very disconcerting, but it ...

Discover More

Calculating Only the Active Workbook

When you enter information into a workbook, Excel automatically recalculates every worksheet in every open workbook on ...

Discover More

Renaming a Workbook

Renaming a workbook from within Excel can seem daunting, but it is actually quite easy. All you need to do is use 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 6 - 4?

2022-11-26 04:52:44

Willy Vanhaelen

You can avoid the Personal.xls error by making it a custom add-in. See: https://excelribbon.tips.net/T008529_Using_Custom_Add-Ins


2022-11-25 11:47:32

hint

Opening another excel.exe instance does not prevent the error message from appearing. Excel M365.


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.