Running Windows 10
Microsoft Excel 16
64 bit
Just encountered this issue - Opening a normal file with a small amount of VBA coding.
On opening file today, ran into error "Can't find project or library"
Error appeared in a few files, and after restarting was localized to a single file.
Answer
Steps:
- panic
- Repaired Microsoft Office
- removed personal.xlsb file from XLStart to test
- Opened blank excel, Alt + F11 to open VBA
- Tools -> References -> Object Library
- Search for missing objects
- Corrected if found
- These steps didn't resolve, so renamed the file opened in safe mode (win + R type Excel.exe /safe)
- Updated dates, changed a few items and saved
- Opened file normally, issue resolved.
Alternatively, try to have someone else open the file/update name and change a few things for you. the file is likely corrupt
No comments:
Post a Comment