steve.waye
Board Regular
- Joined
- Jul 8, 2010
- Messages
- 68
Hi all,
I want users to enter the following into a field and have the entry rejected if the mask is not followed...
19ABC-001
So, any two digits (representing the year) followed by any three letters (that convert to UPPER CASE if not entered as such) followed by a hyphen (entered automatically if the user doesn't enter it) followed by any three digits.
I have tried using Format Cell as well as Data Validation with no success.
My VBA skills are quite elementary and are limited to self-taught scripts that I've found on Mr Excel and elsewhere.
Hoping there's a simple way to do this.
Thanks, Steve
I want users to enter the following into a field and have the entry rejected if the mask is not followed...
19ABC-001
So, any two digits (representing the year) followed by any three letters (that convert to UPPER CASE if not entered as such) followed by a hyphen (entered automatically if the user doesn't enter it) followed by any three digits.
I have tried using Format Cell as well as Data Validation with no success.
My VBA skills are quite elementary and are limited to self-taught scripts that I've found on Mr Excel and elsewhere.
Hoping there's a simple way to do this.
Thanks, Steve