我正在使用Word宏,在Word文件中获取相应word文件的短信。但我需要在评论标签(右端部分)中显示短信。
Dim MsgText As String MsgText = "some text message" Selection.TypeText Text:=MsgText
我需要将短信放在评论面板标签上。
也许:
With Selection .Comments.Add Range:=.Range, Text:=MsgText End With