简体   繁体   English

找不到库或Project Excel VBa

[英]Can’t find Library or Project Excel VBa

I've run into an issue with a couple of workbooks where the message “Can't find library or project.”. 我遇到了几个工作簿的问题,其中显示消息“找不到库或项目。”。 However, when I open the VBA window to check the references, it's non responsive (as in I can click things, but no menus appear, the project window displays the desktop, and Active X controls are non responsive). 但是,当我打开VBA窗口检查引用时,它是无响应的(如我可以单击的内容,但没有菜单出现,项目窗口显示了桌面,而Active X控件无响应)。

I'm in Excel 2013. Is it possible that if the file was created in 2010 and brought over there could be issues? 我在Excel 2013中。如果文件是在2010年创建并带来的,是否可能会出现问题? I'm acratching my head as this seems to happen completly at random. 我挠头,因为这似乎是随机发生的。

Thanks guys. 多谢你们。 I managed to open the file in Safe Mode, and tried compiling the code. 我设法以安全模式打开文件,并尝试编译代码。 I believe that there was an error in the Workbook Open code that it may have been corrupting on. 我相信在工作簿打开代码中可能存在一个错误,该错误可能已被破坏。 I deleted this, and it seems to be all good 我删除了它,看起来一切都很好

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM