Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35
Default Single excel instance + VBE disabling

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
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,253
Default Single excel instance + VBE disabling

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


"Steven Revell" wrote:

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


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Single Excel instance with multiple windows BrianB Excel Discussion (Misc queries) 0 March 2nd 10 06:41 PM
Excel - New Instance JMay Excel Discussion (Misc queries) 4 November 28th 09 04:55 PM
run a single instance of excel Teamlevy Excel Discussion (Misc queries) 8 December 4th 08 04:31 PM
Return Single Instance of Numeric Values from a Column Sam via OfficeKB.com Excel Worksheet Functions 4 August 26th 05 03:10 AM
Second instance of Excel Dom[_2_] Excel Programming 1 August 25th 03 05:37 PM


All times are GMT +1. The time now is 11:38 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"