+ -
当前位置:首页 → 问答吧 → 如何将选中文本加括号

如何将选中文本加括号

时间:2011-01-26

来源:互联网

如何将选中文本加括号,WORD或PPT中用VBA!

[ 本帖最后由 chuhaiou 于 2011-1-27 00:10 编辑 ]

作者: chuhaiou   发布时间: 2011-01-26

Sub AddDoubleQuotationMarks()
    Selection.InsertBefore ("(")
    Selection.InsertAfter (")")
    Selection.MoveRight Unit:=wdWord, Count:=1
End Sub

作者: hoper023   发布时间: 2011-01-27