Description
Converts ExcelColumn name ("A", "B", ...) to ExcelColumn index (0, 1, ...).

Namespace: Docs.Excel
Assembly: Excel (in Excel.dll) Version: 3.1.0.0 (3.1)

Syntax

         
 C#  Visual Basic  Visual C++ 
public static int ColumNameToIndex(
	string Name
)
Public Shared Function ColumNameToIndex ( _
	Name As String _
) As Integer
public:
static int ColumNameToIndex(
	String^ Name
)

Parameters

Name
String
ExcelColumn name.

Return Value

ExcelColumn index.

See Also