Run-time error '53': File not found: MathPage.WLL

The information on this page applies to:
MathType for WindowsMicrosoft Word for Windows
  1. When performing a copy and paste operation, users sometimes see this Visual Basic error:
    Run-time error 53. File not found: mathpage.wll.
  2. The error shown above sometimes appears when launching Word.
Note: Sometimes this issue happens after installing Windows updates. If you have noticed the issue after a Windows update, please uninstall MathType and then reinstall it. (If you need the installation file, you can download a new one for free from our store. Please note your MathType version. If it's MathType 6-something, your product key won't work for MathType 7. Be sure to follow the appropriate link for MathType 6.x.) If reinstalling does not correct the issue, please follow the instructions below.

It is likely the file MathPage.WLL is not located in Office's STARTUP folder. To add it manually, please follow these steps:

  1. Visit whichever of these folders is appropriate for your bit-level of Office:
    C:\Program Files (x86)\MathType\MathPage\32
    C:\Program Files (x86)\MathType\MathPage\64
  2. Right-click the MathPage.WLL file and "copy" it.
  3. Once copied, visit the following location:
    C:\Users\[user name]\AppData\Roaming\Microsoft\Word\STARTUP
    Note this folder is normally hidden, so if you don’t have Windows set up to show hidden folders, you won’t be able to see it. If you still can't find this folder, you may paste the file here:
    C:\Program Files or Program Files(x86)\Microsoft Office\root\Office16\STARTUP
    C:\Users\[user name]\AppData\Local\Packages
  4. After pasting the file, be sure to completely close Word, then re-open.

If that resolved the issue, you are done. If not, we suggest re-starting your computer and testing again.

If the issue has not been resolved, you may also change the macro security center settings to Disable all macros except digitally signed macros, or enable all macros. We've described below how to do this. MathType's macro for Word is digitally signed.

Please note: When enabling all macros, please be cautious with documents from senders that you are not familiar with. Documents from unknown sources can contain malicious code.

  1. Open Word.
  2. Click the ‘File’ menu or the ‘Office’ button in the upper left corner.
  3. Select 'Options', then ‘Trust Center’.
  4. Click ‘Trust Center Settings’.
  5. Select ‘Macro Settings’ on the left side.
  6. Select the radio button for ‘Disable all macros except digitally signed macros.’
  7. Click ‘OK’ and then click ‘OK’ again.
  8. Close Word and then re-open Word.

*If that does not resolve the issue, you may try enabling all macros.


We hope this has been helpful. As always, please let us know if you have questions about this, or if you have additional techniques that work. We'd love to hear from you.