Browser Property

Microsoft Word Visual Basic

Browser Property

       

Returns a Browser object that represents the Select Browse Object tool on the vertical scroll bar. Read-only.

Example

This example moves to the next footnote reference mark in the active document.

With Application.Browser
    .Target = wdBrowseFootnote
    .Next
End With

This example moves to the next field in the active document. The text from the initial selection to the next field is formatted as bold.

Selection.ExtendMode = True
With Application.Browser
    .Target = wdBrowseField
    .Next
End With
With Selection
    .Font.Bold = True
    .ExtendMode = False
    .Collapse Direction:=wdCollapseEnd
End With