View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Bob Phillips[_6_] Bob Phillips[_6_] is offline
external usenet poster
 
Posts: 11,272
Default please help Need VBA code that searches for partial text in a cell

If Cells(Rowx, Coly) Like "*cats*" Then

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Shani" wrote in message
oups.com...
So if a cell contains "catsdogs" i want some code that would return
true

If Cells(Rowx, Coly) = "cat" Then
x = true


This does not work