PPT: Error Importing Form Into the Visual Basic Editor

Last reviewed: March 10, 1998
Article ID: Q161695
The information in this article applies to:
  • Microsoft PowerPoint 97 for Windows
  • Microsoft PowerPoint 98 Macintosh Edition

SYMPTOMS

When attempting to use the import file command to add an .frm file (a form) to a Visual Basic for Applications project, you may receive a message similar to the following:

   Errors during load. Refer to <path>\<filename>.log for details.

After you click OK to acknowledge the error message, the form opens. However, most controls are missing and the form may not behave as expected.

CAUSE

When you export an .frm file, the Visual Basic Editor stores binary information vital to the operation of the form and its child controls in an .frx file. When you import an .frm file, the corresponding .frx file must be available within the same folder. If the .frx file has been modified, damaged, or is missing you may receive the error.

RESOLUTION

If Moving a Form

When you export an .frm file the Visual Basic Editor automatically creates the .frx file in the same directory. So, when moving the form, make sure you keep the .frx and .frm files together.

Don't Modify .frx Files

The .frx files should never be modified manually. Modifying the .frx files results in unpredictable behavior when accessing the associated form.

REFERENCES

For more information about getting help with Visual Basic for Applications, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q163435
   TITLE     : VBA: Programming Resources for Visual Basic for
               Applications


Additional query words: 97 8.00 kbmacro ppt8 vba vbe macppt mac_ppt ppt98
98 powerpt
Keywords : kbcode kberrmsg kbmacro kbprg kbdta kbdtacode kbpptvba
Version : WINDOWS:97; MACINTOSH:98
Platform : MACINTOSH WINDOWS
Hardware : MAC x86
Issue type : kbprb


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