Single excel instance + VBE disabling

S

Steven Revell

Hi,

I have a few difficult questions which i'm hoping that
someone may be able to answer.

I have an excel spreadsheet that i want to be opened in a
separate instance of excel (We are using Excel 97 but will
be going to XP in a few months). For this instance of
Excel I want to make it so that user cannot open the VB
Editor. - is this possible?

Thank you kindly,
Steven
 
K

keepitcool

Steven,

Protecting the VBA project disables the user's
ability to view the code, he may open the window
but cant do anything.

Note you may need to add some error handling to
recover from stateloss.

If it's a performance issue and you want to make
sure the user closes the VBE before running it use:

Application.VBE.MainWindow.Visible=False




keepITcool

< email : keepitcool chello nl (with @ and .) >
< homepage: http://members.chello.nl/keepitcool >
 

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

Top