Share via


ShowBy Property

ShowBy Property
This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

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.

expression.ShowBy

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

Remarks

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