Hi,
I create a macro to automatically update excel reports everyday and archive them. The macro automatically starts when I open the excel file, then it retrieves data and saves a copy of the file with a different name for archiving purpose. However, when a user opens one of the archived file, the macro automatically re-starts. I don't what that. Is there anyway that I can stop the macro from running in those documents? Is there any code that I should add in the original report?
I create a macro to automatically update excel reports everyday and archive them. The macro automatically starts when I open the excel file, then it retrieves data and saves a copy of the file with a different name for archiving purpose. However, when a user opens one of the archived file, the macro automatically re-starts. I don't what that. Is there anyway that I can stop the macro from running in those documents? Is there any code that I should add in the original report?