XL97: Page Fault Accessing Demand-Loaded Add-in

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

SYMPTOMS

In Microsoft Excel 97, when you run a Visual Basic for Applications macro, and then attempt to access a demand-loaded add-in, you receive an error message, and then Microsoft Excel quits.

In Microsoft Windows 95, you receive the following error message:

   EXCEL caused an invalid page fault in module EXCEL.EXE at 
   0137:300c7df8.

In Microsoft Windows NT 3.51 or later, you receive the following error:

   An application error has occurred and an application error log is being
   generated.

   EXCEL.exe
   Exception: Access Violation (0xc0000005), Address: 0x300c7df8

NOTE: The exact address in the message may vary.

CAUSE

This problem occurs when the following conditions are true:

  • You run a Visual Basic for Applications macro during the Microsoft Excel session.

        -and-
    
  • You access a demand-loaded add-in while no workbooks are open in Microsoft Excel.

WORKAROUND

To prevent this problem from occurring, open at least one workbook or start a new workbook before you access the demand-loaded add-in.

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.

MORE INFORMATION

"Demand-loaded" means that an add-in is set up for use in Microsoft Excel; functionality in the add-in is available dialog boxes and menus, but the add-in file is not actually loaded into random access memory (RAM) until the functionality is requested. Demand loading an add-in requires less time than fully loading the add-in into RAM.

You may experience the problem that is described in this article when you access one of the demand-loaded add-ins in the following list:

   AutoSave
   Conditional Sum
   File Conversion Wizard
   Internet Assistant Wizard
   Lookup Wizard
   Report Manager
   Solver
   Template Wizard with Data Tracking
   Web Form Wizard


Additional query words: XL97 8.0 8.00 addin __demandload demandload
save as html fast load
Keywords : kberrmsg kbprg xlloadsave xladdins 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.