vbs脚本 怎么调用word公式编辑器
小弟,准备用vbs脚本 操作word输入特定字符,需要用到word的公式编辑器。在宏里看到的代码在vbs里不能用,说对象不存在。 脚本 vbs wsf --------------------编程问答-------------------- 可以的啊,如我向word里插入二次公式,运行下面这个代码成功插入了--------------------编程问答--------------------
Sub 宏1()
'
' 宏1 宏
'
'
Application.Templates( _
"C:\Users\zhangsan\AppData\Roaming\Microsoft\Document Building Blocks\2052\14\Built-In Building Blocks.dotx" _
).BuildingBlockEntries("二次公式").Insert Where:=Selection.Range, RichText:= _
True
End Sub
补充:.NET技术 , VB.NET