The script works fine, but every time I exit the workbook I get the following run-time error:
Run-Time error '1004':
Method 'Worksheets' of object '_Global' failed
I have attached the code for the sub that is causing the error. It occurs on the first line of the first "If" statement. Any help would be appreciated.
![]()
Please Login or Register to view this content.
Bookmarks