Isolate my excel instance

ilya2004

Board Regular
Joined
Mar 17, 2011
Messages
135
I have a workbook where the users interact only with a userform for both inputs and outputs, so I would like to have application.visible = false set for this workbook.

My concern is that if people need to reference other things in excel while they are using this workbook, it will be hidden from them also.

My thought would be to force excel to open my document as a separate instance, and then to block any other documents from opening in this instance.

Does anyone have any ideas how to accomplish this?

Alternatively if you have a better idea how I can deal with this problem, I would be open to suggestions.
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
The reason is, that I don't want this tool to be visually connected to excel at all. The way that it looks like now, it feels like a stand-alone program. If I only set the .Hidden of the workbook, the whole Excel would still be open and in the user's face.
 
Upvote 0
Mike & Novice are steering you right. You can follow Mike's advice and create dictator applications in Excel where you take complete control of the interface (see Professional Excel Development 2nd (or 1st) Edition for a lot more information on how to create a dictator (or other) types of Excel applications. The user is still in Excel - but you can make it so that they don't really know they're in Excel. Bill Manville is an Excel MVP that has a lot of experience in this area.

OR do as Novice indicates and just step out to a toolkit that allows you to create a true stand-alone application that simply accesses an instance of Excel via its object model.

Note that neither of these is for the feint-of-heart. Not trying to discourage you -- but just understand what you are undertaking.
 
Upvote 0
Hi Greg,

Thanks for your advice. I am going to check out Novice's link, but where did you see that Mike sent me info on dictator applications? The only message I see from him is the one on workbook.hidden?
 
Upvote 0
...but where did you see that Mike sent me info on dictator applications? The only message I see from him is the one on workbook.hidden?

Mike said to stay inside of Excel and simply hide the workbook -- which would be my first inclination / recommendation as well.

Then, in a subsequent post, you indicated that you want to make this look like and interact with the users like it is an independent application, not Excel.

Stay inside Excel + App doesn't look like Excel = Dictator Application
 
Upvote 0

Forum statistics

Threads
1,224,598
Messages
6,179,822
Members
452,946
Latest member
JoseDavid

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