excel macro convert column number to letter 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