XL97: "Project Is Unviewable" Message Trying to View Project

ID: Q169374

The information in this article applies to:

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.

STATUS

This is by design of Microsoft Excel 97.

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.

REFERENCES

For more information about limitations using shared workbooks, click the Index tab in Microsoft Excel 97 Help, type the following text

   shared workbooks, limitations

and then double-click the selected text to go to the "Limitations of shared workbooks" topic.

Additional query words: XL97

Keywords          : kberrmsg xlwgroups 
Version           : WINDOWS:97
Platform          : WINDOWS

Last Reviewed: November 1, 1998