Skip to content

Latest commit

 

History

History
42 lines (25 loc) · 946 Bytes

Excel.Window.ScrollRow.md

File metadata and controls

42 lines (25 loc) · 946 Bytes
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Window.ScrollRow property (Excel)
vbaxl10.chm356106
vbaxl10.chm356106
Excel.Window.ScrollRow
5fd21ea8-a173-e502-042d-57903bcd43e5
05/21/2019
medium

Window.ScrollRow property (Excel)

Returns or sets the number of the row that appears at the top of the pane or window. Read/write Long.

Syntax

expression.ScrollRow

expression A variable that represents a Window object.

Remarks

If the window is split, the ScrollRow property of the Window 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.

Worksheets("Sheet1").Activate 
ActiveWindow.ScrollRow = 10

[!includeSupport and feedback]