## Applicability

MathType for Windows

Microsoft Word for Windows

## Issue

1. When performing a copy and paste operation, users sometimes see this Visual Basic error:

2. The error showed above sometimes appears when launching Word.

## Solution

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

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 or C:\Users\[user name]\AppData\Local\Packages \Microsoft.Office.Desktop_8wekyb3d8bbwe\LocalCache\Roaming\Microsoft\Word\STARTUP

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 restarting your computer and testing again.

If the issue has not been resolved, you may also change the macro security centre settings to Disable all macros except digitally signed macros or enable all macros. We've described below how to do this. MathType 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.