Answers for "excel vba column number to cells address"

VBA
31

vba how to convert a column number into an Excel column

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

excel vba convert cells address

' From Cells(1,1) to "A1"
MsgBox Cells(1, 1).Address(RowAbsolute:=False, ColumnAbsolute:=False)

' From "A1" to Cells(1,1)
MsgBox Range("A1").Row & ", " & Range("A1").Column
Posted by: Guest on January-14-2021

Code answers related to "VBA"

Browse Popular Code Answers by Language