Sunjinsak
Board Regular
- Joined
- Jul 13, 2011
- Messages
- 151
- Office Version
- 365
- 2019
- 2016
- 2013
- Platform
- Windows
Hi,</SPAN>
Using Excel 2003 SP3 on Windows XP.</SPAN>
I have a user form with 4 text boxes. The text box values can either be blank or contain 7 numeric characters.</SPAN>
I can control what is input into the text boxes using a combination of the MaxSize property and some basic code.</SPAN>
What I need though, once numeric entries have been made, is a way to take the value of each text box (preferably as a string as the values will eventually make their way into a Word template) and compare them to check if any of the values are the same.</SPAN>
None of the values can be identical except if they’re blank.</SPAN>
The only exception is if all the values are blank as there needs to be an entry in at least one box.</SPAN>
Does that make sense?</SPAN>
Can anyone help?</SPAN>
Thanks.</SPAN>
Using Excel 2003 SP3 on Windows XP.</SPAN>
I have a user form with 4 text boxes. The text box values can either be blank or contain 7 numeric characters.</SPAN>
I can control what is input into the text boxes using a combination of the MaxSize property and some basic code.</SPAN>
What I need though, once numeric entries have been made, is a way to take the value of each text box (preferably as a string as the values will eventually make their way into a Word template) and compare them to check if any of the values are the same.</SPAN>
None of the values can be identical except if they’re blank.</SPAN>
The only exception is if all the values are blank as there needs to be an entry in at least one box.</SPAN>
Does that make sense?</SPAN>
Can anyone help?</SPAN>
Thanks.</SPAN>