Application.Browser Property

Word Developer Reference

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

Syntax

expression.Browser

expression   A variable that represents an Application object.

Example

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

Visual Basic for Applications
  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.

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

See Also