Skip NavigationDesign Science: How Science Communicates
Products Solutions Store Support Reference Company View Cart
 
 
TechNote #72: Last modified: 11/19/15

“Compile Error in Hidden Module: AutoExec” or “MTLib” Error Message in Microsoft Word


The information in this document applies to:

MathType 6.x (Windows)

Microsoft Word 2003 and later (Windows)

Issue

Many users, after installing MathType 6.x, find they receive an error message in Microsoft Word either "Compile error in hidden module: AutoExec" when they launch Microsoft Word, or "Compile Error in hidden module: MTLib" when they try to use commands on the MathType menu in Microsoft Word or the MathType toolbar/ribbon in Microsoft Word.


Reason

MathType includes an add-in for Microsoft Word which adds the MathType menu and toolbar/ribbon to Microsoft Word. This add-in contains macros written in Visual Basic for Applications (VBA), the macro language used by Microsoft Word. The add-in is placed in Microsoft Word's designated Startup folder. AutoExec is the macro that Microsoft Word automatically executes when launching. MTLib is a library of MathType macros used by the toolbar/tab and MathType menu in Microsoft Word. If there is a problem with your computer's VBA environment, when you launch Microsoft Word, you may receive error messages.


Solution

To correct this problem, you need to make sure that Microsoft Office components upon which the MathType Commands for Word rely are functioning correctly. You should follow the instructions that we provide for resolving issues using the MathType Commands for Microsoft Word.


Top of page

TechNotes Home   |   TechNote Wizard   |   Contact us

Copyright © 1996-2018 Design Science. All rights reserved.
Privacy statement
Follow MathType: