Hi Norie,
To clarify:
The following code is in a standard module (i.e. the code in the masterfile):
The following code is in the ThisWorkbook module of each of the workbooks being opened by the code in the masterfile:
The code in the masterfile only needs to open the 4 workbooks referred to in the code and exit.
It does that without a problem but after it has opened the 4 workbooks spew out the error message for each of the workbooks opened by the code.
That is caused by the code in the ThisWorkbook module of the workbooks opened by the code.
ThisWorkbook.Activate makes no difference to the result.
Regards,
Henk
Bookmarks