Thread
:
simple code that does a search for me and returns a string
View Single Post
#
5
Posted to microsoft.public.excel.programming
Southern at Heart
external usenet poster
Posts: 25
Thanks.
thanks. I ended up with:
Function findit(strText As String) As String
n = Cells(Rows.Count, "A").End(xlUp).Row
For i = 1 To n
v = Cells(i, 1).Value
If InStr(v, strText) 0 Then
strFound = v
End If
Next
findit = strFound
End Function
Reply With Quote
Southern at Heart
View Public Profile
Find all posts by Southern at Heart