Click or drag to resize
ExcelColumnCollectionColumnNameToIndex Method
Converts column name ("A", "B", ...) to column index (0, 1, ...).

Namespace: GemBox.Spreadsheet
Assembly: GemBox.Spreadsheet (in GemBox.Spreadsheet.dll) Version: 41.3.30.1000
Syntax
public static int ColumnNameToIndex(
	string name
)

Parameters

name
Type: SystemString
Column name.

Return Value

Type: Int32
Column index for the specified name.
See Also