Answers for "excel vba get column letter"

VBA
31

excel vba function to convert column number to letter

Function ColName(n)
    ColName = Split(Cells(, n).Address, "$")(1)
End Function
Posted by: Guest on March-30-2020
1

excel vba column letter

Function ColumnLetter(pColIndex As Long) As String
    ColumnLetter = Replace(Cells(1, pColIndex).Address(True, False), "$1", "")
End Function
Posted by: Guest on January-19-2021

Code answers related to "VBA"

Browse Popular Code Answers by Language