[]
Gets the index of the last column that contains data or formatting on this sheet.
public int GetLastNonEmptyColumn(NonEmptyItemFlag dataFlag)
Public Function GetLastNonEmptyColumn(dataFlag As NonEmptyItemFlag) As Integer
| Type | Name | Description |
|---|---|---|
| NonEmptyItemFlag | dataFlag | Whether to look for data or formatting (NonEmptyItemFlag setting) |
| Type | Description |
|---|---|
| int | A index of the last column that contains data or formatting on this sheet. |