Public Function ExcelColumnNumberToLetters( _ ByVal vColumnNumber As Variant _ ) As Variant
ExcelColumnNumberToLetters(1) = "A" ExcelColumnNumberToLetters(26) = "Z" ExcelColumnNumberToLetters(27) = "AA"See also:
NumberToBaseX FunctionvColumnNumber: Number of the column whose alphabetic name is to be returned. Function returns Null if vColumnNumber is Null or cannot be fixed up to a number.
Function returns Null if vColumnNumber is not within the range from 1 to 256 inclusive.
Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.