在MS-Word中,几乎采用Mathtype插入方程.当MS-Word文档包含几个(Mathtype方程),并且我们必须使用VBA宏编码来更改该首选项时,对于编辑等式格式,我们如何做呢?
这个问题是关于用VBA宏编码改变Mathtype方程格式。。
这似乎是一个复杂的问题,因为最后,我在这里问了问题,没有人回答我,直到现在。如果可能的话,请在这个问题上帮助我。谢谢大家。
发布于 2017-11-18 12:37:56
嗯,我需要在我的文档中写很多向量,所以我记录/写了以下内容:
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我的建议是记录宏然后改变它..。
https://stackoverflow.com/questions/42550569
复制相似问题