[]
Gets the column index according to the column name.
public static int ColumnNameToIndex(string name)
Public Shared Function ColumnNameToIndex(name As String) As Integer
| Type | Name | Description |
|---|---|---|
| string | name | The column name. |
| Type | Description |
|---|---|
| int | The index of column. |
int columnIndex = CellInfo.ColumnNameToIndex("D");