Microsoft KB Archive/51183

{| = Excel: Positioning Active Cell at Top-Left Corner of Window =
 * width="100%"|

Last reviewed: November 2, 1994

Article ID: Q51183

SUMMARY
The FORMULA.GOTO(ref) function can be used to position a cell range in the active portion of the window, where &quot;ref&quot; is a reference to the range to be located in the active portion of the window. Note that &quot;ref&quot; must be a range of cells that contains enough rows and columns to fill the active window.

For example, to position cell C10 in the upper-left corner of the active window, the following formula can be used on a normal Macintosh screen:

=FORMULA.GOTO(!C10:H32) Note that this range is dependent on the font and font size due to variable row heights and column widths and may need to be adjusted for individual worksheets.

MORE INFORMATION
Using the SELECT command instead of FORMULA.GOTO selects a given range without moving it into the active area of the screen. To ensure that the range is moved to the active area of the screen, use FORMULA.GOTO.

For more information on the FORMULA.GOTO function, see page 93 of the &quot;Microsoft Excel Function Reference&quot; version 3.0 manual. If you are using Excel 2.20, see page 227 of the &quot;Microsoft Excel Functions and Macros&quot; version 2.2 manual.
 * }