This method gets the appropriate "A" thru "ZZZ" column header for Excel based
on a passed in long data type.
Namespace:
Abh.Core.Excel2k7
Assembly:
Abh.Core.Excel2k7 (in Abh.Core.Excel2k7.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
| C# |
|---|
public static string GetExcelColumnLetter(
int columnIndex
) |
| Visual Basic (Declaration) |
|---|
Public Shared Function GetExcelColumnLetter ( _
columnIndex As Integer _
) As String |
| Visual C++ |
|---|
public:
static String^ GetExcelColumnLetter(
int columnIndex
) |
Parameters
- columnIndex
- Type: System..::.Int32
Pass in a long type to derive the appropriate column header letter.
Return Value
A string of the appropriate "A" thru "ZZZ" header letter.
See Also