Syntax

expression.ScrollRow

expression A variable that represents a Pane object.

Remarks

If the window is split, the ScrollRow property of the object refers to the upper-left pane. If the panes are frozen, the ScrollRow property of the Window object excludes the frozen areas.

Example

This example moves row ten to the top of the window.

Visual Basic for Applications
Worksheets("Sheet1").Activate ActiveWindow.ScrollRow = 10

See also: