ramasterre
Active Member
- Joined
- Oct 5, 2004
- Messages
- 253
Hello
I have a macro (to log who goes in and out of the workbook) which runs whenever my workbook is opened. I need it to run ever time the workbook is opened except when it is first 'created'. The workbook is created via macros in another work book which find the last xls document created, opens its, clears all the values, and then downloads new values. My problem is I am trying to find a way to make the login macro not run if the macro that clears out the sheets is run. I have another macro that I want to run instead. Every time i "create" a new document the login macro pops up before the create macro can even run. Is there a way to put a line of code into the create macro to suppress the login macro?
I have a macro (to log who goes in and out of the workbook) which runs whenever my workbook is opened. I need it to run ever time the workbook is opened except when it is first 'created'. The workbook is created via macros in another work book which find the last xls document created, opens its, clears all the values, and then downloads new values. My problem is I am trying to find a way to make the login macro not run if the macro that clears out the sheets is run. I have another macro that I want to run instead. Every time i "create" a new document the login macro pops up before the create macro can even run. Is there a way to put a line of code into the create macro to suppress the login macro?