Hi,
I have two modules in my workbook, which I call automatically within ThisWorkbook, with a "Private Sub Workbook_Open" command:
These modules refresh my workbook and then email the refreshed workbook to a colleague.Please Login or Register to view this content.
The issue is that when my colleague opens the workbook, the ThisWorkbook command tries to run, and causes an error as he does not have the API required.
My question therefore is how can I add one more step to my VBA, so that the commands from ThisWorkbook are removed before the file is emailed?
Hopefully this makes sense, would be great to get it working!
Many thanks,
Antony
Bookmarks