Goto Method

See Also         Example         Applies To

Selects any range or Visual Basic procedure in any workbook, and activates that workbook if it’s not already active.

Syntax

expression.Goto(Reference, Scroll)

expression   Required. An expression that returns an Application object.

Reference   Optional Variant. The destination. Can be a Range object, a string that contains a cell reference in R1C1-style notation, or a string that contains a Visual Basic procedure name. If this argument is omitted, the destination is the last range you used the Goto method to select.

Scroll   Optional Variant. True to scroll through the window so that the upper-left corner of the range appears in the upper-left corner of the window. False to not scroll through the window. The default is False.

Remarks

This method differs from the Select method in the following ways: