Excel VBA:找不到项目或库 [英] Excel VBA: Can't find project or library
本文介绍了Excel VBA:找不到项目或库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
运行Windows 10 Microsoft Excel 16 64位
Running Windows 10 Microsoft Excel 16 64 bit
仅遇到此问题-使用少量VBA编码打开普通文件.
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.
推荐答案
步骤:
- 恐慌
- 修复后的Microsoft Office
- 从XLStart中删除了personal.xlsb文件进行测试
- 打开空白excel,Alt + F11打开VBA
- 工具->参考->对象库
- 搜索丢失的物体
- 已更正
- 这些步骤无法解决,因此重命名了在安全模式下打开的文件(win + R类型Excel.exe/safe)
- 更新日期,更改了一些项目并保存
- 已正常打开文件,问题已解决.
- 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
这篇关于Excel VBA:找不到项目或库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文