WD98: VBA Error Opening a Document Based on Contemporary Memo

Last reviewed: February 17, 1998
Article ID: Q177456
The information in this article applies to:
  • Microsoft Word 98 Macintosh Edition

SYMPTOMS

When you open a document based on the Contemporary Memo template, you may receive one of the following Visual Basic error messages:

   Microsoft Visual Basic Error
   Compile Error:
   Can't find project or library

   -or-

   Could not open macro storage.

When you click OK to exit the error message, you will see the Contemporary Memo--This Document (Code) window. Closing this window will bring you to the document.

If you try to run a macro after exiting from the windows mentioned above, you will receive the following Visual Basic error message:

   Can't execute code in break mode

Or if you try to create a new macro, the create button will not be available.

CAUSE

You will not be able to run another macro or to create a new one because the macro that failed when you tried to open the document based on the Contemporary Memo template will be in break mode.

WORKAROUND

To work around the problem of the failed macro being in break mode, follow these steps:

  1. On the Tools menu, point to Macro, and then click Visual Basic Editor.

  2. On the Visual Basic toolbar, click the Reset button.

  3. On the File menu, click "Close and Return to Microsoft Word."

STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.


Additional query words: not there unavailable
Keywords : kbtemplate macword98 kberrmsg
Version : MACINTOSH:98
Platform : MACINTOSH
Issue type : kbbug
Solution Type : kbworkaround


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: February 17, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.