ShowBy Property
Applies To
Comments collection object.
Description
Returns or sets the name of the reviewer whose comments are shown in the comments pane. You can choose to show comments either by a single reviewer or by all reviewers. Read/write String.
Note To view the comments by all reviewers, set this property to "All Reviewers."
Syntax
expression.ShowBy(Author)
expression Required. An expression that returns a Comments object.
Author Required String. The name of the reviewer.
See Also
Comments property.
Example
The following example displays comments made by Don Funk.
If ActiveDocument.Comments.Count >= 1 Then
ActiveWindow.View.SplitSpecial = wdPaneComments
ActiveDocument.Comments.ShowBy = "Don Funk"
End If