Comments.ShowBy property (Word)

Returns or sets the name of the reviewer whose comments are shown in the comments pane. Read/write String.

Syntax

expression. ShowBy

expression An expression that returns a 'Comments' collection object.

Remarks

You can choose to show comments either by a single reviewer or by all reviewers. To view the comments by all reviewers, set this property to "All Reviewers."

Example

The following example displays comments made by Don Funk.

If ActiveDocument.Comments.Count >= 1 Then 
 ActiveDocument.ActiveWindow.View.SplitSpecial = wdPaneComments 
 ActiveDocument.Comments.ShowBy = "Don Funk" 
End If

See also

Comments Collection Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.