Microsoft KB Archive/169374

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

Article ID: 169374

Article Last Modified on 10/22/2000

-

APPLIES TO


 * Microsoft Excel 97 Standard Edition

-



This article was previously published under Q169374





SYMPTOMS
If you try to view a Visual Basic for Applications project in the Microsoft Visual Basic Editor, you may receive the following error message

Project Locked

Project is unviewable

even though you did not lock the project for viewing in the properties for the project. You may also receive this message if you click VBAProject Properties on the Tools menu in the Microsoft Visual Basic Editor.



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



WORKAROUND
You cannot view a project in a shared workbook. If you want to view a project in a shared workbook, disable sharing. To disable sharing, use the following steps:
 * 1) Open the shared workbook.
 * 2) On the Tools menu, click Share Workbook.
 * 3) Click to clear "Allow changes by more than one user at the same time" and click OK.



MORE INFORMATION
Some features in Microsoft Excel 97 are not available when you use a shared workbook. In a shared workbook, you cannot write, change view, 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; however, if you run a macro that includes an operation that is unavailable, the macro stops at that point.

