XL97: "Module Not Found" Error Opening Workbook

Last reviewed: February 27, 1998
Article ID: Q159465
The information in this article applies to:
  • Microsoft Excel 97 for Windows

SYMPTOMS

When you open a workbook in Microsoft Excel 97, you receive the following error message:

 Module not found

and you cannot open the workbook.

CAUSE

This problem occurs when all of the following conditions are true:

  • In Microsoft Excel 5.0 or 7.0, you create a workbook that contains a Visual Basic module with a name that contains one or more exclamation points (for example, "Module!1") or question marks.

        -and-
    
  • You open the workbook in Microsoft Excel 97, and then save it in the Microsoft Excel Workbook format.

        -and-
    
  • You do not remove the exclamation points or question marks in the name of the module before you save the workbook.

        -and-
    
  • You close, and then attempt to reopen the workbook.

If you save a workbook that contains a module with a name that contains an exclamation point or a question mark in the Microsoft Excel 97 workbook format, you cannot open the workbook in any version of Microsoft Excel.

Microsoft recommends that you remove exclamation points and other illegal characters from the module name when you first open the workbook in Microsoft Excel 97.

STATUS

Microsoft has confirmed this to be a problem in Microsoft Excel 97 for Windows. This problem was corrected in Microsoft Excel 97 for Windows, Service Release 1.

MORE INFORMATION

For more information about problems you may encounter when module names include illegal characters, see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q158632
   TITLE     : XL97: Limitations for Naming Visual Basic Modules


Additional query words: XL97
Keywords : kberrmsg kbualink97 xlvbahowto xlvbainfo xlloadsave xlui xl97vbmigrate
Version : WINDOWS:97
Platform : WINDOWS
Issue type : kbbug


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 27, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.