Skip to main content
Skip table of contents

"Run-time error" or "Compile error in hidden module: ThisShapeClass."


When you attempt to use VBA, Intelligent Shapes or OrgCharts you may get one of the following error dialogs:


Run-time error '-2147467259(80004005)':

Class not registered.

You need the following file to be installed on your machine. MSSTDFMT.DLL."


 Or the error:

"Microsoft Visual Basic for Applications


Compile error in hidden module: ThisShapeClass.

This error commonly occurs when code is incompatible with the version, platform, or architecture of this application. Click "Help" for information on how to correct this error."



In both cases you will need to download the attached file (msstdfmt.dll) and register it using regsvr32.ex.

  1. Download the attached msstdfmt.dll to your hard drive
  2. Copy msstdfmt.dll to c:\windows\system32 if running on a 32 bit OS or to c:\windows\syswow64 if running on a 64 bit OS.
  3. Open a command prompt (cmd.exe) with administrator privileges
  4. In the prompt, if you're using a 32-bit OS type in: regsvr32 c:\windows\system32\msstdfmt.dll
    If running on a 62-bit OS then type regsvr32 c:\windows\syswow64\msstdfmt.dll

If you've followed the instructions successfully, you will get a dialog "Registration succeeded" and the issues should go away.





JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.