How many Instances of Excel are open

julhs

Active Member
Joined
Dec 3, 2018
Messages
476
Office Version
  1. 2010
Platform
  1. Windows
In Workbook1 in its “ThisWorkbook” module I have a “Workbook_Open” event that automatically opens Workbook2 (reference file) when Workbook1 is opened.

Question; are Wb1 and Wb2 open in the same instance of Excel or in 2 separate instances
 
Mark & Dan W

Just got home, so going to be a while to fully explore/test your suggestions.
Julhs
 
Upvote 0

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
Mark,
ref to #29
That does “Quit” Excel, without saving.
Can I just restate what I had previously said in #17
I already have 3 slightly differing Save&Close subs, that when attached to a command button or run via VBA widow run button,
they all closed all instances of Excel that are open. But NONE of them do it when re-titled “Before Close” and placed in Book1 (primary book "ThisWorkbook".)

Dan W
I did look at link to Jaafar Tribak.
But I stand NO CHANCE of making adjustments to suit my needs.

To you both;
Thank you for all your assistance, I am going to have to leave this problem in the unsesolved file as,
a) I can use some existing code attached to command button,
b) I just have to get on with other matters
Julhs
 
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,159
Members
453,021
Latest member
Justyna P

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