Renamed Invalid Sheet Name Excel Error. I renamed a sheet and am getting the error "While renaming a sheet or chart, you entered an invalid name, Try one of the following" blah blah blah. It is pulling up a Microsoft office Excel File Repair Log.
Error] Invalid cell value '#NAME?' Named Excel table.
This is fine, if opening up Excel on your own, but our application is a stand alone application that runs everyday, opens a new excel file, performs its actions, and closes.
If trust the source of this workbook click Yes. On Error GoTo errhand For Each Sheet In ActiveWorkbook. These workbooks have an invalid worksheet name which I have discovered is a known problem with Legacy Crystal Reports. "Errors were detected in 'example.xls'" but Microsoft Office Excel was able to open the file by makling the repairs listed below. renamed invalid sheet name".