jmacleary
Well-known Member
- Joined
- Oct 5, 2015
- Messages
- 1,060
- Office Version
- 365
- 2007
- Platform
- Windows
Good morning (or afternoon/evening).
I have a vba application using forms and need to validate the user input to ensure none of a set of characters are being input. At the moment the set is )('@=`#~"!,. but this may grow. I was going to create a loop using instr, but wondered if there was a neater way?
Alternatively, I may opt to validate for alphanumeric only - if so, again what is the best way to do this?
Thank you in advance.
I have a vba application using forms and need to validate the user input to ensure none of a set of characters are being input. At the moment the set is )('@=`#~"!,. but this may grow. I was going to create a loop using instr, but wondered if there was a neater way?
Alternatively, I may opt to validate for alphanumeric only - if so, again what is the best way to do this?
Thank you in advance.