Version

FirstVisibleTabIndex Property

Gets or sets the index of the first visible tab in the worksheet tab bar.
Syntax
'Declaration
 
Public Property FirstVisibleTabIndex As Integer
public int FirstVisibleTabIndex {get; set;}

Property Value

The index of the first visible tab in the worksheet tab bar.
Exceptions
ExceptionDescription
System.ArgumentOutOfRangeException The value assigned is less than zero.
Remarks

If the worksheet tab bar is not visible, this value will not be used, but it is still saved with the workbook.

Note: This setting cannot be saved with a CustomView in the Excel file. It can only be saved with a Workbook. Therefore, there is no corresponding property in CustomViewWindowOptions and a newly created CustomView will not be initialized with the setting from this property.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, 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