Run-time error '1004': Method 'Worksheets' of object '_Global' failed
I get this error when running the following code:
I just want to add a sheet at the end of the workbook. This code used to work just fine with Windows XP and Office 2007. We recently updated to Windows 7 and Office 2010 and now the code breaks at the Set NWS line. Am I missing a reference somewhere? Thanks for any suggestions!![]()
Please Login or Register to view this content.
![]()
Bookmarks