Exclusive Instance of Excel

AgentSilverfern

Board Regular
Joined
Oct 16, 2003
Messages
51
I am writing a mini-programme in an Excel workbook which I would like to open in an Exclusive instance of Excel. What i mean is this..

1. When one or more instances of Excel are already open and the user
opens my mini-programme, it will autmoatically open itself in a new
instance of Excel.

2. When my mini-programme is already open and the user tries to open
another Excel workbook, the user's workbook will be forcibly opened in a
new instance or other existing instance of Excel.

I have previously come across a solution to part 1. of my problem, which led me to the discovery that you can send a workbook that is being opened to a new instance of Excel no problem because when you create a new instance it is identifiable by the fact it becomes the active instance, but i have not found any manner in which an existing inactive instance of Excel can be made active and thereby identified in any way.

I know this might sound like a cumbersome way of doing something, but this is what I am working with, so it would not be suitable for me to use Add-Ins or any other means to solve this problem. I need to know if it can be done this way. Can you help?[/b]
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
Hi, this thread is too old, but I have the same problem. Have you found a solution?

Thanks
 
Upvote 0

Forum statistics

Threads
1,203,462
Messages
6,055,563
Members
444,799
Latest member
CraigCrowhurst

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