Hi All,
I'm trying to get a textbox in a VBA userform to throw an alert if it contains anywhere in the whole box, certain words or phrases dictated by an array.
Currently, if the TextBox contains ONLY the array item, it works and I get my box to go red. But if the TextBox contains other text i.e. "this that and the other, Option 1 is best" then the TextBox is not highlighted red.
Just wondering if anyone can help? I've tried using the Instr method to get things done, but I cant seem to wrap my head around the syntax of it all.
Any help is much appreciated!
Cheers
Bookmarks