Hi all,
I have a simple userform with some textboxes.
I want to loop through these boxes called lenght1 to lenght5 (also have width1 to 5 and height1-5) and check if they exceed a value written in a named range call "MAXLENGHT".
How to do this in a most efficient way?
At first I wanted to us
and so on but does not feel the best way to solve this problem.
Thanks for any help/pointers I can have.
BR
Per
I have a simple userform with some textboxes.
I want to loop through these boxes called lenght1 to lenght5 (also have width1 to 5 and height1-5) and check if they exceed a value written in a named range call "MAXLENGHT".
How to do this in a most efficient way?
At first I wanted to us
Code:
If Val(Lenght1.Text) > Worksheets("Kundinfo & inställningar").Range("MAXLENGHT") Then
Thanks for any help/pointers I can have.
BR
Per