banjoflanjo
New Member
- Joined
- Mar 20, 2008
- Messages
- 44
Hi,
I have a cell with the named range “Form1”. This cell is used to populate a database and would normally contain a project number in the format C1234567, where it always starts with a capital C followed by 7 numbers. What I want to do is this, before I run my macro to populate the database, I want the code to check that the letter C entered in “Form1” is in fact upper case, if it is not then I want it to change it to upper case and then continue.
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com
ffice
ffice" /><o
></o
>
Also, just as an extra validation I would like it to check that the first letter is in fact the letter C, if it is not I would like to display a message like “This project prefix is ‘x’ rather than ‘C’, please double check your project number and try again.”
<o
></o
>
Does that sound do-able?
<o
></o
>
Thanks
<o
></o
>
Banjoflanjo
I have a cell with the named range “Form1”. This cell is used to populate a database and would normally contain a project number in the format C1234567, where it always starts with a capital C followed by 7 numbers. What I want to do is this, before I run my macro to populate the database, I want the code to check that the letter C entered in “Form1” is in fact upper case, if it is not then I want it to change it to upper case and then continue.
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com




Also, just as an extra validation I would like it to check that the first letter is in fact the letter C, if it is not I would like to display a message like “This project prefix is ‘x’ rather than ‘C’, please double check your project number and try again.”
<o


Does that sound do-able?
<o


Thanks
<o


Banjoflanjo