Application Goto Method Method

Purpose

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

Syntax

Goto(Reference, Scroll)

Optional Parameters

Reference

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

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.