Excel 365 starts with error message "sorry excel can't open two workbooks with the same name at the same time"

PeteWright

Active Member
Joined
Dec 20, 2020
Messages
482
Office Version
  1. 365
Platform
  1. Windows
  2. Mobile
Hello everybody!

As the topic title says I'm getting an error message each time Excel 365 starts (fresh restart, after Excel was closed).

Maybe there's an issue with one of my Add-Ins, I cannot explain this otherwise.
2021-12-11 01_03_59-Microsoft Excel.png
2021-12-11 01_01_03-Excel Options.png


Any help appreciated.
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
I have had that same problem, (Excel) never wrong, even if you have it open in a different window. What I had to do is change the name pf one of them by adding a V1 to the name in order to keep the properly sorted. some times I get to V6 before I get it correct. Then you have a new master to work from.

Mike P in Wisconsin
 
Upvote 0
Do you have a file in a custom Excel start up folder ?
(see image below - "At startup, open all file in:")

And do you have a file with the same name in the Excel Default start up folder ?
C:\Users\YOUR USER NAME\AppData\Roaming\Microsoft\Excel\XLSTART

1639195188158.png
 
Upvote 0
Do you have a file in a custom Excel start up folder ?
(see image below - "At startup, open all file in:")

And do you have a file with the same name in the Excel Default start up folder ?
C:\Users\YOUR USER NAME\AppData\Roaming\Microsoft\Excel\XLSTART

View attachment 53144


No, only one file in startup folder and nothing that opens at start:
2021-12-11 10_50_35-XLSTART.png
2021-12-11 10_50_57-Excel Options.png
 
Upvote 0
That might actually be it. Typically you don't put you add-in in your startup folder.
You browse to it and the add-in manager stores where it is.
By putting XL2BB.xlam in the startup (XLSTART) folder, it may well be loading it up twice.

Try moving it out of there and putting it somewhere else. See if that fixes it.
If it does you will most likely need to go into the Add-In manager and repoint it at the new location when you do want to use XL2BB the first time next time.
 
Upvote 0
Solution
That might actually be it. Typically you don't put you add-in in your startup folder.
You browse to it and the add-in manager stores where it is.
By putting XL2BB.xlam in the startup (XLSTART) folder, it may well be loading it up twice.

Try moving it out of there and putting it somewhere else. See if that fixes it.
If it does you will most likely need to go into the Add-In manager and repoint it at the new location when you do want to use XL2BB the first time next time.
Great, thanks, that was it!

I moved the XL2BB Add-In to another folder and Excel starts up normally now.

Now I've got two more questions regarding Add-Ins.
What is a "good folder" to store Add-Ins? Right now I have created a folder in "C:\custom\programs\Excel\AddIns\xl2bb.xlam".
Is this a good choice?

One of my other Add-Ins (Professor Excel Tools) is located in "C:\Users\John\Documents\ProfessorExcelTools\Professor-Excel-Tools.xlam"
Is it safe to move it out of that folder to another location?
 
Upvote 0
I'm afraid I am probably not the best person to ask, I am a bit undecided myself.
If its a workcomputer and they migrate you to a new machine, they generally also migrate everything from your documents folder, so I tend to put my add-ins in a folder on the C drive under Document in an Excel sub-folder. (careful with this, it may take you to a onedrive or sharepoint folder). It is also likely that when you backup your own computer that you will focus on your Documents folders.

If you put it on OneDrive then you can access it if you use a different computer BUT if you don't have a network connection you won't be able to access it on any computer.

For either of the above you may want to set the folder (and subfolders) up as a trusted location.

There is a default folder under C:\USERS\YOURNAME\AppData\Roaming\Microsoft\AddIns but I don't personally tend to use this.
(for quicker navigatioin type in %appdata%)
 
Upvote 0

Forum statistics

Threads
1,223,214
Messages
6,170,774
Members
452,353
Latest member
strainu

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top