Name

window.ScrollIntoView(Left, Top, Width, Height, [Start])

Synopsis

Scrolls the window to a rectangular region on the worksheet.

Argument

Setting

Left

The left edge of the rectangle in points.

Top

The top edge of the rectangle in points.

Width

The width of the rectangle in points.

Height

The height of the rectangle in points.

Start

True scrolls the upper-left corner of the rectangle to the upper-left corner of the window; False scrolls the lower-right corner of the rectangle to the lower-right corner of the window. Default value is True.

Get Programming Excel with VBA and .NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.