代码打不开,project is unviewable
有一个excel文件,就是打不开代码,一双击打开就出现:project is unviewable.  打开其它excel没问题
 
以下是在Microsoft Help and Support 中找到的解决办法
 
XL2000: "Project Is Unviewable" Error Message When You Try to View Project
 
If you try to view a Visual Basic for Applications project in the Microsoft Visual Basic Editor, the following error message may appear
Project Locked
Project is unviewable
even though you did not lock the project for viewing in the properties for the project. This message may also appear if you click VBAProject Properties on the Tools menu in the Microsoft Visual Basic Editor.
 
You cannot view a project in a shared workbook. If you want to view a project in a shared workbook, turn off sharing. To turn off sharing, use the following steps:
  1. Open the shared workbook.
  2. On the Tools menu, click Share Workbook.
  3. Clear the Allow changes by more than one user at the same time check box, and then click OK.