E
Edward Scott
hi,
I would like my excel workbook to run some code whenever it is opened
by an automated process. I do not, however, want to run the code when a
person opens the workbook for viewing.
I am familiar with the Workbook_Open() Sub, but this code is run every
time the workbook is opened, which is not what I would like.
I have not yet found an elegant solution to this, so I thought I would
see if anyone out here had any suggestions. if there were some way to
activate particular macros when opening the document from the command
line (e.g. excel myworkbook.xls myMacro) that would be ideal, but I do
not know of a way to do this.
any suggestions, please let me know!
I would like my excel workbook to run some code whenever it is opened
by an automated process. I do not, however, want to run the code when a
person opens the workbook for viewing.
I am familiar with the Workbook_Open() Sub, but this code is run every
time the workbook is opened, which is not what I would like.
I have not yet found an elegant solution to this, so I thought I would
see if anyone out here had any suggestions. if there were some way to
activate particular macros when opening the document from the command
line (e.g. excel myworkbook.xls myMacro) that would be ideal, but I do
not know of a way to do this.
any suggestions, please let me know!