I have a variable which contains a string (to letters, for example DE)
I need some code that will take the variable, and look at an array (Worksheet = "Sheet2" Range ="A1:A249") If it finds the letters then do something, if not then do something else.
Whats the best way to solve this? I'm guessing it is part of an If statement, but I'm not sure how to try to match/find the variable.
Also, I don't know if this will be relevant, but it will be part of a loop, as the variable will need to constantly change.
Thanks for your help.