excel vba get column letter from column number code example
Example: excel vba function to convert column number to letter
Function ColName(n)
ColName = Split(Cells(, n).Address, "$")(1)
End Function
Function ColName(n)
ColName = Split(Cells(, n).Address, "$")(1)
End Function