Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

XL2000: "Project Is Unviewable" Error Message When You Try to View Project


View products that this article applies to.

Symptoms

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.

↑ Back to the top


Cause

This behavior occurs if you try to view a project that is in a shared workbook.

↑ Back to the top


Workaround

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.

↑ Back to the top


More information

Some features in Microsoft Excel 2000 are not available when you use a shared workbook. In a shared workbook, you cannot write, change views, record, or assign macros. However, you can record a macro that is stored in another workbook that is not shared. You can run macros that were created before the workbook was shared, but if you run a macro that includes an operation that is unavailable, the macro stops at that point.

↑ Back to the top


References

For more information about limitations in using shared workbooks, click Microsoft Excel Help on the Help menu, type limitations of shared workbooks in the Office Assistant or the Answer Wizard, and then click Search to view the topic.

↑ Back to the top


Keywords: KB211792, kbprb, kbpending, kberrmsg

↑ Back to the top

Article Info
Article ID : 211792
Revision : 4
Created on : 9/27/2003
Published on : 9/27/2003
Exists online : False
Views : 234