Hi,
Can someone tell me which operator works in VBA the way the OR operator works in functions?
I want to write an IF statement that will evaluate whether a variable is equal to any of the three punctuation marks ".", "?", or "!". But I'm not sure how to code it. I attempted the following:
Basically what I want to happen is, if the variable Character is equal to one of those three punctuation marks, a specific action will be taken, etc, etc.![]()
Please Login or Register to view this content.
Thanks a lot!
Bookmarks