[]
Gets the index of the active viewport column for the active sheet.
public int GetActiveColumnViewportIndex()
Public Function GetActiveColumnViewportIndex() As Integer
| Type | Description |
|---|---|
| int | The index of the active viewport column for the active sheet. |
Gets the index of the active viewport column for the specified sheet.
public int GetActiveColumnViewportIndex(int sheetIndex)
Public Function GetActiveColumnViewportIndex(sheetIndex As Integer) As Integer
| Type | Name | Description |
|---|---|---|
| int | sheetIndex | Sheet index |
| Type | Description |
|---|---|
| int | The index of the active viewport column for the specified sheet. |
| Type | Condition |
|---|---|
| ArgumentOutOfRangeException | Specified sheet index is out of range; must be between 0 and the total number of sheets |