语法
表达式.Underline
表达式 必选。一个代表 Font 对象的变量。
示例
以下示例给所选内容添加单下划线。
if(Selection.Type == wdSelectionNormal){ Selection.Font.Underline = wdUnderlineSingle } else{ MsgBox("You need to select some text.") }