i want vba code to know on which column my cell is active
i.e. whether it is on colomn A or XYZ.
i want vba code to know on which column my cell is active
i.e. whether it is on colomn A or XYZ.
This will do it...
Dim a as String a = ActiveCell.Address MsgBox Left(Right(a, Len(a) - 1), InStr(Right(a, Len(a) - 1), "$") - 1)
K :-)
its good,
thanku killian...