chinster99
Technical User
Hi,
I have a number of reports that are scheduled to run at various parts of the week/month. At the moment I have written a macro that resides in workbook_open. The macro saves the master documnent, makes a copy in another directory and creates a log of the process before shutting down. The purpose of the code was so that it would be an automated process when it came to scheduling.
However to do this I have had to set the macro security level to low so it would run automatically. Is there a way to code it so it works automatically with the security level set to medium
Alternativly if the security level remains at low, is there something I can put in that effectivly stops the macro at startup by pressing a key, as at the moment it loops till application is shut down.
Thanks
Leo
I have a number of reports that are scheduled to run at various parts of the week/month. At the moment I have written a macro that resides in workbook_open. The macro saves the master documnent, makes a copy in another directory and creates a log of the process before shutting down. The purpose of the code was so that it would be an automated process when it came to scheduling.
However to do this I have had to set the macro security level to low so it would run automatically. Is there a way to code it so it works automatically with the security level set to medium
Alternativly if the security level remains at low, is there something I can put in that effectivly stops the macro at startup by pressing a key, as at the moment it loops till application is shut down.
Thanks
Leo