Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 51
Default Workbook_Open question

How do I open a workbook and bypass the Workbook_Open event? I already have
code in the procedure, but I forgot to comment it out for the next open.

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 102
Default Workbook_Open question

You could throw in an
Application.EnableEvents = False
before you open the workbook and then
Application.EnableEvents = True
afterwards

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Workbook_Open question

Application.EnableEvents = False
Workbooks.Open "C:\MyFiles\MyFile.xls"
Application.EnableEvents = True

--
Regards,
Tom Ogilvy


"Sheldon" wrote in message
...
How do I open a workbook and bypass the Workbook_Open event? I already

have
code in the procedure, but I forgot to comment it out for the next open.

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
Workbook_Open () Bill Martin Excel Discussion (Misc queries) 12 December 20th 05 05:37 PM
workbook_open julio Excel Programming 4 September 26th 04 10:23 PM
Workbook_Open Question [email protected] Excel Programming 22 September 14th 04 04:01 PM
Help with Workbook_Open Ruan[_3_] Excel Programming 7 April 28th 04 07:52 AM
Workbook_Open event and combobox state storage question jw Excel Programming 0 October 23rd 03 12:44 AM


All times are GMT +1. The time now is 02:24 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"