Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
dan dan is offline
external usenet poster
 
Posts: 866
Default Disable Workbook_Open() Macro

I have a workbook that runs the Workbook_Open() code every time you open it.
There are some times I would like to open the workbook without running the
macro. Is there a way to disable the macro on Open (For example in Access
you can hold down the Shift key while opening the DB and it won't exceute the
autoexec macro)

Any suggestions are appreciated.
Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Disable Workbook_Open() Macro

Hi Dan

you can hold down the Shift key while opening the DB and it won't exceute

The same in Excel if you use FileOpen
If you open the file by double clicking on it in Explorer it will not work



--
Regards Ron de Bruin
http://www.rondebruin.nl


"Dan" wrote in message ...
I have a workbook that runs the Workbook_Open() code every time you open it.
There are some times I would like to open the workbook without running the
macro. Is there a way to disable the macro on Open (For example in Access
you can hold down the Shift key while opening the DB and it won't exceute the
autoexec macro)

Any suggestions are appreciated.
Thanks!



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 320
Default Disable Workbook_Open() Macro

Same in Excel -- hold the shift key down while opening the workbook; the
event won't fire.

Bob Umlas
Excel MVP

"Dan" wrote in message
...
I have a workbook that runs the Workbook_Open() code every time you open

it.
There are some times I would like to open the workbook without running the
macro. Is there a way to disable the macro on Open (For example in Access
you can hold down the Shift key while opening the DB and it won't exceute

the
autoexec macro)

Any suggestions are appreciated.
Thanks!



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
disable user running macro from Tools Macro Steve Simons Excel Discussion (Misc queries) 4 September 28th 06 06:28 AM
Workbook_Open macro not running mrice Excel Discussion (Misc queries) 2 April 26th 06 06:45 PM
Prevent Workbook_Open macro big t Excel Programming 2 August 20th 04 12:01 PM
Workbook_Open & Macro James Cox[_2_] Excel Programming 0 July 2nd 04 03:44 PM
Workbook_Open macro created in Excel 97 problems on MAC Dick Kusleika Excel Programming 2 September 8th 03 06:42 PM


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

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

About Us

"It's about Microsoft Excel"