Hi,
This implies that the workbook contains sheets with
illegal code names.
Probably the offending sheet is the copy of the copy of
the copy of .... a sheet and the workbook has originaly
been created in XL97.
These illegal names stem from a bug in XL 97 and surface
when you copy a sheet. XL97 adds a 1 to the code name
(that is NOT the name you see on the sheet's tab) of the
copy, so it's name becomes Sheet11. Copying that sheet
gives you Sheet111, etcetera.
Remedy:
1. Open the file in Excel 97
2. Open the VBE (Alt-F11)
3. Find the file's project in the project explorer
4. Expand the project
5. Make sure the properties window is visible (view menu)
6. Click a sheet
7. Check out the (Name) property, if it looks like the one
stated, change it to something shorter (and unique!)
8. Repeat step 6 for all sheets
9. Close the VBE
10.Save the workbook
In future, use the SAME sheet over and over to create the
copies.
Regards,
Jan Karel Pieterse
Excel TA/MVP