Share via


Comment.ShowTip Property

Word Developer Reference

True if text associated with a comment is displayed in a ScreenTip. Read/write Boolean.

Syntax

expression.ShowTip

expression   An expression that returns a Comment object.

Remarks

The ScreenTip remains displayed until you click the mouse or press a key.

Example

This example shows the ScreenTip for the first comment in the active document.

Visual Basic for Applications
  If ActiveDocument.Comments.Count >= 1 Then
    ActiveDocument.Comments(1).ShowTip = True
End If

This example shows the ScreenTip for the next comment in the active document.

Visual Basic for Applications
  If ActiveDocument.Comments.Count >= 1 Then
    With Selection
        .GoTo What:=wdGotoComment, Which:=wdGotoNext
        .MoveEnd Unit:=wdWord, Count:=1
        .Comments(1).ShowTip = True
    End With
End If

See Also