G gregork Dec 15, 2004 #1 I want to have a message box come up when there are less than seven digits on a UserForm TextBox . How would the code go? Greg
I want to have a message box come up when there are less than seven digits on a UserForm TextBox . How would the code go? Greg
F Frank Kabel Dec 15, 2004 #2 Hi in the Exit event of this textbox you could check for the length of the textbox value. e.g. '.... if len(textbox1.value)<7 then msgbox "entry too short" cancel=true end if '...
Hi in the Exit event of this textbox you could check for the length of the textbox value. e.g. '.... if len(textbox1.value)<7 then msgbox "entry too short" cancel=true end if '...
B Bob Phillips Dec 15, 2004 #3 Could there be 7digits and an alpha? -- HTH RP (remove nothere from the email address if mailing direct)
Could there be 7digits and an alpha? -- HTH RP (remove nothere from the email address if mailing direct)