Workbook_Open question

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
You could throw in an
Application.EnableEvents = False
before you open the workbook and then
Application.EnableEvents = True
afterwards
 
Application.EnableEvents = False
Workbooks.Open "C:\MyFiles\MyFile.xls"
Application.EnableEvents = True
 

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

Back
Top