VBA: Error Message: "Class Not Registered" Inserting UserForm

Article translations Article translations
Article ID: 182500 - View products that this article applies to.
This article was previously published under Q182500
Expand all | Collapse all

On This Page

SYMPTOMS

When you attempt to insert a UserForm while you are in the Microsoft Visual Basic Editor in one the products listed at the beginning of this article, or when you attempt to open a document that contains a UserForm, you may receive the following error message:
Class not registered.
Looking for object with CLSID:{AC9F2F90-E877-11CE-9F68-00AA00574A4F}
or
Class not registered.
Looking for object with CLSID:{C62A69F0-16DC-11CE-9E98-00AA00574A4F}
When you click Help, the following message appears:
The Help topic does not exist. Contact your application vendor for an updated Help file (129)
The dialog box is dismissed when you click OK.

The error may also appear when you attempt to save a Microsoft Excel 97 document as an Hypertext Markup Language (HTML) document by clicking Save As HTML on the File menu. When you click OK, a dialog box with the following message appears:
400

CAUSE

This problem may be caused by a missing or incorrect Microsoft Windows registry entry for the Dynamic Link Library Fm20.dll. The proper registration of this file is required when you work with UserForms and form controls in Microsoft Excel 97.

RESOLUTION

To resolve this problem, register Fm20.dll. You must have Regsvr32.exe to register Fm20.dll. If you do not have Regsvr32.exe you can download the file. For additional information, please see the following article in the Microsoft Knowledge Base:
161983 Regsv32a.exe Available in Download Center

Registering Fm20.dll

To Register Fm20.dll, follow these steps:
  1. Use Microsoft Windows Explorer to locate the Fm20.dll file in the Windows\System folder or in the Winnt\system32 folder (under Microsoft Windows NT).

    If the file is not present, copy it from the OS\System folder on the Microsoft Office 97 compact disc to the appropriate location.
  2. Close all open programs.
  3. Click Start on the Windows taskbar, click Run, and then type the following:
    Regsvr32.exe fm20.dll
  4. Click OK. The following message should appear:
    DllRegisterServer in c:\windows\system\fm20.dll succeeded.
The file Fm20.dll should be registered correctly.

STATUS

Microsoft is researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

Properties

Article ID: 182500 - Last Review: January 22, 2007 - Revision: 2.2
APPLIES TO
  • Microsoft Excel 97 Standard Edition
  • Microsoft PowerPoint 97 Standard Edition
  • Microsoft Word 97 Standard Edition
  • Microsoft Visual Basic for Applications 5.0
Keywords: 
kberrmsg kbhowto kbprogramming KB182500
Retired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com