Hi arpanpanchal,
You can use the strFindCol variable from this:
Option Explicit
Sub MyColumn()
Dim rngFindCol As Range
Dim strFindCol As String
Set rngFindCol = Cells.Find(What:="May 16", After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
MsgBox rngFindCol.Column
strFindCol = Left(Cells(rngFindCol.Row, rngFindCol.Column).Address(True, False), Application.WorksheetFunction.Search("$", Cells(rngFindCol.Row, rngFindCol.Column).Address(True, False)) - 1)
MsgBox strFindCol
End Sub
Note it will fail if no match is found.
Please make sure you wrap your code with the appropriate tags as I have done.
Regards,
Robert
Bookmarks