Class Browser (Word VBA)
The class Browser represents the browser tool used to move the insertion point to objects in a document. This tool is composed of the three buttons at the bottom of the vertical scroll bar. To use a Browser class variable it first needs to be instantiated, for example
Dim brw as Browser
Set brw = Application.Browser
Next
Moves the selection to the next item indicated by the browser target. Use the Target property to change the browser target.
With Application.Browser
.Target = wdBrowseComment
.Next
End With
Previous
Moves the selection to the previous item indicated by the browser target. Use the Target property to change the browser target.
With Application.Browser
.Target = wdBrowseTable
.Previous
End With
Target
Returns or sets the document item that the Previous and Next methods locate. Here you can find possible values for
With Application.Browser
.Target = wdBrowseComment
.Next
End With