TopRow Property

TopRow returns or sets the first visible worksheet row in the window. Returns a long.

Syntax

object.TopRow

object. TopRow = Row

Parameter

Type

Description

Row

Long

required

Example 1

This example demonstrates how to return the first row visible in a worksheet window.

WksWindow.TopRow

Example 2

This example demonstrates how to set the second row as the first row visible in a worksheet window.

WksWindow.TopRow = 2

Used by: WksWindow object