Prevent New Instances of Excel 365

pliskers

Active Member
Joined
Sep 26, 2002
Messages
461
Office Version
  1. 2016
Platform
  1. Windows
I am trying to prevent Excel 365 from opening a new instance of the application when I double click on a file name in Windows Explorer. I've seen various solutions posted for earlier versions, related to the Option to "Show all windows in the taskbar", but that option does not appear to be available in Excel 365.

I get error messages from the opening of the second instance due to the presence of a Personal.xlsb file that holds my frequently used macros. I'd like all newly opened files to appear in the same instance unless I choose to open a second one.

Is there a way to prevent this from happening?

EDIT:
Just a follow up to be clear: If I use the File-Open method in Excel, the second file will open in the same instance. What I'm looking for is a way to prevent a second instance from opening when I have one file already open and double-click a second file in Windows Explorer. That's what I'm inquiring about.
 
Last edited by a moderator:

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
dbl-clicking the file outside of Excel will begin a new instance. Win-OS is doing it, not excel.
 
Upvote 0
This sounds like the "Ignore other applications that use Dynamic Data Exchange (DDE)" option is checked.

To uncheck this, use Application.IgnoreRemoteRequests = False or navigate to the option: File -> Options -> Advanced -> Scroll down to General Section -> Ignore other applications...

When you are double-clicking on the file in the File Explorer, Windows is using DDE to send data to the instance of Excel. If that value is set to True, the existing instance of Excel ignores the data and a new instance of Excel is opened (that's what's supposed to happen anyway... doesn't work for me). Any change in this setting is persistent (written to the registry when the application closes; I've observed it is not persistent when changed in Safe Mode).
 
Upvote 0
This sounds like the "Ignore other applications that use Dynamic Data Exchange (DDE)" option is checked.

To uncheck this, use Application.IgnoreRemoteRequests = False or navigate to the option: File -> Options -> Advanced -> Scroll down to General Section -> Ignore other applications...

When you are double-clicking on the file in the File Explorer, Windows is using DDE to send data to the instance of Excel. If that value is set to True, the existing instance of Excel ignores the data and a new instance of Excel is opened (that's what's supposed to happen anyway... doesn't work for me). Any change in this setting is persistent (written to the registry when the application closes; I've observed it is not persistent when changed in Safe Mode).
Exactly what I needed - thank you!
 
Upvote 0
Hello,
I have the exact issue described in the original post. However, I confirmed that the "Ignore other applications that use Dynamic Data Exchange (DDE)" option is not checked.

And just to clarify: I recently received a new computer. This was NOT an issue on my old computer; I was able to double-click on a file name in File Explorer and the file was opened in the existing instance of Excel.

Any other ideas for how to prevent a new instance of Excel?

Thanks so much for any help that you can provide.
 
Upvote 0

Forum statistics

Threads
1,214,649
Messages
6,120,728
Members
448,987
Latest member
marion_davis

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