Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Diable Macros when openning a worksheet

Status
Not open for further replies.

vestax22

Programmer
Jun 18, 2003
139
CA
Hi, I have a worksheet which calls upon another worksheet to extract data. This worksheet is fairly large and contains macros at startup. I want to know if its possible to disable marcos at startup so that I could open and close the file quicker.

Thx in advance
 
vestax22,
while opening hit the esc key. this will break into the macro.

regards,

longhair
 
In XP (don't know if this property exists in earlier versions of excel) you can do:
[tt]Application.AutomationSecurity = msoAutomationSecurityForceDisable[/tt]
and next open workbook (default is msoAutomationSecurityLow).

combo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top