Prevent Workbook_Open macro
Hi
not tested but try:
application.enableevents=false
Workbooks.Open(wbkname)
application.enableevents=true
--
Regards
Frank Kabel
Frankfurt, Germany
"big t" schrieb im Newsbeitrag
...
Hi everyone,
I am opening one workbook from another using this command:
Workbooks.Open(wbkname)
but when wbkname opens it runs the Workbook_Open subroutine in the
ThisWorkbook section.
Is there a way I can prevent it from running this code?
I am running XP and Excel 2003.
TIA
big t
|