Class Reviewers (Word VBA)

A collection of Reviewer objects that represents the reviewers of one or more documents. The Reviewers collection contains the names of all reviewers who have reviewed documents opened or edited on a computer. To use a Reviewers class variable it first needs to be instantiated, for example


Dim rvws as Reviewers
Set rvws = ActiveWindow.View.RevisionsFilter.Reviewers

For Each

Here is an example of processing the Reviewers items in a collection.


Dim rvw As Reviewer
For Each rvw In ActiveWindow.View.RevisionsFilter.Reviewers
	
Next rvw

Count

Returns a Long that represents the number of reviewers in the collection.


Dim lngCount As Long
lngCount = ActiveWindow.View.RevisionsFilter.Reviewers.Count

Item

Returns an individual Reviewer object in a collection.

Item (Index)

Index: The individual object to be returned. Can be a Long indicating the ordinal position or a String representing the name of the individual object.


Dim rvw As Reviewer
Set rvw = ActiveWindow.View.RevisionsFilter.Reviewers(Index:=1)