DoClick Method Example

If the first field in the selection is a GOTOBUTTON field, this example clicks it (the insertion point is moved to the specified location, or the specified bookmark is selected).

Set myField = Selection.Fields(1)
If myField.Type = wdFieldGoToButton Then myField.DoClick