[vba-newbie] testing cell text for specific characters?

  • Thread starter Thread starter counterform
  • Start date Start date
C

counterform

I would like to test the text value of a cell to determine if i
includes a certain string of characters and set a variable to true whe
appicable.

In other words, something like this (unknown method in human syntax an
italics) :

-If Range["A1"] text string includes 'thisText' Then-
boolVariableName = True
End If

Is there a built -in way to do this with VBA? I'm sure there is, but
haven't been able to locate the appropriate funtion in the help files
this forum, or via google. Can anyone assist
 
Back
Top