1. Install the MathType SDk
2. Add the reference in VBA editor for C:\Program Files\MathType\SDK\templates\MT6SDk.dot
3. Code as below in Editor
Public Sub ConvertEqns()
Dim info As convertEquationsInfo
info.translatorOptions = 0
info.translatorFileName = "AMSTeX.tdl"
info.equationTypes = True
info.promptUser = False
info.showStats = False
info.Count = 0
mtsdk.ConvertEquations info
End Sub
4. Update the "Wordcmds.dot" in the below mentioned paths.
C:\Program Files\MathType\Office Support
C:\Program Files\MathType\SDK
Note: All the execution commands will be taken from this template by MT6SDK.dot