Suddenly my excel file is generating a lot of errors at startup.
No changes have been made to the file since before the errors started.
Example of errors:
Similar issue. Created an application to track welding procedures. My machine was running Windows 7 and Excel 2010. Anything I created, then distributed to other machines with different OS's or different Excel versions would have 32809 errors, usually associated with selecting a worksheet
Sheets("Data Entry").Select
This would trigger an Application or run time error 32809. I tried all of the fixes previously mentioned (delete all temp files, .exd files etc. No joy.
My solution ( may not work for you)
Opened the application on a machine that was Excel 2007. Added one comment line of code of no consequence into one of the macros
Sheets(sheetName).Select
'comment of no consequence
and saved it. This caused a recompile. Closed and re-opened with Excel 2007 - all fixed.
If I add any code to these applications on my machine and then distribute, there is invariably an error when run, unless I get the application to recompile on the differing system. I sent the fixed version onto another machine running Excel 2007 and it worked fine.
Hope this makes sense and helps
Grant