Is there any way to get ME to scan a text variable looking for any occurence of a number of characters? Im trying to get macro express to return a meaningful error and allow a retry if anything other than a range of numbers, seperated by a hyphen, is typed in. I dont really want to write 50 repeating if statements. "If contains" as far as i can tell will only accept one character at a time, unless youre looking for an entire string.
Basically i want the user to be able to enter 1-10 or 2005-5000, but the macro would reject an entry of 1-m or 2-!0 and then prompt the user to re-enter the variable.