i want vba code to know on which column my cell is active
i.e. whether it is on colomn A or XYZ.
Printable View
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...
Code:Dim a as String
a = ActiveCell.Address
MsgBox Left(Right(a, Len(a) - 1), InStr(Right(a, Len(a) - 1), "$") - 1)
its good,
thanku killian...:thumb