Reputation: 127
I'm using Word macro, getting text message for corresponding word file in the Word file. But I need the text message in the comment tab (right end side part).
Dim MsgText As String
MsgText = "some text message"
Selection.TypeText Text:=MsgText
I need the text message to be on the comment panel tab.
Upvotes: 0
Views: 34
Reputation: 13490
Perhaps:
With Selection
.Comments.Add Range:=.Range, Text:=MsgText
End With
Upvotes: 1