Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Unique data in control arrey of textboxes
I have a control arrey of 10 text boxes (from 0 to 9) on a form.
After user enters data in text boxes, and clicks on commandbutton "GO", I want to validate the data. Validation rules: 1. data must be numaric from 0 to 9 only 2. each number entered must be unique, duplicate numbers not allowed. 3. each number must start with 093 4. each number must have 11 digits, no more no less. If any rule is violated, I want to warn the user and want them to re-enter the data. The macro should proceed only when above criteria is meet with. Second problem is: I want to process only non blank textboxes. I can loop thru it but how can I ignore blank text boxes? Thanks for any help. Regards, Shetty |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Arrey Formula | Excel Worksheet Functions | |||
Filer for unique records and return all column data for unique rec | Excel Discussion (Misc queries) | |||
Send and Receive Data From Web Site Into UserForm TextBoxes | Excel Discussion (Misc queries) | |||
Need help w/ userform with 12 textboxes with data going into colum | Excel Discussion (Misc queries) | |||
control textboxes keep changing size | Excel Discussion (Misc queries) |