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

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top