I have the following code...
TextVar = "This is just a sentence."
How can I search for a word in that variable, and if it is found, display the whole sentence.
For example, I'd like to search for the word "just" inside TextVar, and if it is present, then MsgBox TextVar...
Anyone know how to do this?
TextVar = "This is just a sentence."
How can I search for a word in that variable, and if it is found, display the whole sentence.
For example, I'd like to search for the word "just" inside TextVar, and if it is present, then MsgBox TextVar...
Anyone know how to do this?