在MS-Word中,几乎我们使用Mathtype来插入方程式。当 MS-Word 文档包含多个 (Mathtype equation) 时,我们必须使用VBA 宏编码来更改该首选项,以编辑方程式格式,我们该怎么办?
这个问题是关于通过 VBA 宏编码改变 Mathtype 方程格式的。
似乎这是一个复杂的问题,因为最后,我在这里问问题,没有人回答我,直到现在。如果可能的话,请在这个问题上帮助我。感谢大家。
好吧,我需要在我的文档中写很多向量,所以我记录/写了这个:
Sub Vecteur()
'change your selection to MathType
Selection.OMaths.Add Range:=Selection.Range
'change your selection to Vector type
Selection.OMaths(1).Functions.Add(Selection.Range, wdOMathFunctionAcc).Acc _
.Char = 8407
Selection.MoveLeft Unit:=wdCharacter, Count:=1, Extend:=wdMove
Selection.MoveRight Unit:=wdCharacter, Count:=1, Extend:=wdMove
End Sub
我的建议是录制宏然后更改它...