Question on Application/Workbook

  • Thread starter Thread starter Les Stout
  • Start date Start date
L

Les Stout

Hi all, I have created a recon tool with a lot of script in. I have a
problem in that, if my doc with the script is open and the user opens
another excel document it opens in my document, Is there anyway to make
my document exclusive so that when another document is opened it is in a
seperate workbook or window, i hope i have explained myself ok.

Your help will be greatly appreciated.

Les Stout
 
I assume you have startup code running in your workbook. You should add
this line to that code:

Application.IgnoreRemoteRequests = True

Be sure to set this to False in your closing code or the user will not like
you.<g>

--
Jim
| Hi all, I have created a recon tool with a lot of script in. I have a
| problem in that, if my doc with the script is open and the user opens
| another excel document it opens in my document, Is there anyway to make
| my document exclusive so that when another document is opened it is in a
| seperate workbook or window, i hope i have explained myself ok.
|
| Your help will be greatly appreciated.
|
| Les Stout
|
|
 
Thanks Jim, could one make a button on the tool bar to activate it too ?

Les Stout
 
You certainly could. There is no control built into Excel for this exact
purpose so you'd have to use a custom button and assign your macro to it via
the button's OnAction property

--
Jim
| Thanks Jim, could one make a button on the tool bar to activate it too ?
|
| Les Stout
|
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top