Hello everyone
I have a userform with textboxes ( 1 to 13 ) which should be restriected in entries as follows
First, Just the letter "A" is allowed in entry and no other letters or words or any text allowed ..just the letter "A" (Capital case)
-----
Second, each text box should be restricted by minimum and maximum value , as for the minimum for all the textboxes would be 0 but as for the maximum value related to cells in yellow (In Sheets("Data"))
For example : range("R12") has the value 50 >> So the textbox1 should be from 0 to 50 only and if it is less than 0 or greater than 50 , a message box would be appear to pay the user's attention ...
AC12 is related to Textbox2
AN12 is related to Textbox3
AZ12 is related to Textbox4
BA12 is related to Textbox5
BN12 is related to Textbox6
BO12 is related to Textbox7
CA12 is related to Textbox8
CL12 is related to Textbox9
CM12 is related to Textbox10
DO12 is related to Textbox11
DZ12 is related to Textbox12
EK12 is related to Textbox13
If possible I need to deal with all the textboxes all together that have the same conditions (I mean textboxes 1 & 2 & 3 & 7 & 8 & 10 & 11 & 12 & 13 have the same maximum value .. so if possible to deal with them all together)
Hope it is clear
Bookmarks