Version

FirstRowInTopPane Property

Gets or sets the first visible row in the top pane(s) of the worksheet.
Syntax
'Declaration
 
Public Property FirstRowInTopPane As Integer
public int FirstRowInTopPane {get; set;}

Property Value

The zero-based index of the first visible row in the top pane(s).
Exceptions
ExceptionDescription
System.ArgumentOutOfRangeExceptionThe assigned value is outside the valid row range (0 to one less than Workbook.MaxExcelRowCount or Workbook.MaxExcel2007RowCount, depending on the workbook's CurrentFormat).
Remarks

This affects the scroll position for the top pane(s) of the worksheet and is used regardless of whether or not the worksheet is split horizontally.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also