I meant to use the VBA FIND function.
Sub match_add()'Yours FIXED
Dim v1 As Range, r1 As Range
Set v1 = Sheets("Sheet3").Range("d1")
Set r1 = Sheets("Sheet3").Range("e3:e18")
MsgBox Application.Match(v1, r1, 0)
End Sub
Sub find_add()' BETTER
With Sheets("sheet3")
MsgBox .Columns("e").Find(.Range("d1")).Row - 2
End With
End Sub
--
Don Guillett
SalesAid Software
wrote in message
oups.com...
Find does not work. Find will only search for a text item withing a
text.
Utkarsh