簡體   English   中英

Word宏的文本消息需要在注釋選項卡中

[英]Text message of Word macro needs to be in the comment tab

我正在使用 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

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM