Maneesh Massey
Member
Hi,
Is there a way in Excel VBA to loop through and check if all controls (text boxes) on a userform are empty or not ?? I have 11 text boxes on a userform with names like: Arec1, Arec2, Arec3... Arec11. A msgbox should pop up and let the user know which text box he/she has left out and needs to be filled in before proceeding onto the next userform. Should this code be placed in the click event of a button on the same form ??
Appreciate any good answers.
~~ Maneesh
Is there a way in Excel VBA to loop through and check if all controls (text boxes) on a userform are empty or not ?? I have 11 text boxes on a userform with names like: Arec1, Arec2, Arec3... Arec11. A msgbox should pop up and let the user know which text box he/she has left out and needs to be filled in before proceeding onto the next userform. Should this code be placed in the click event of a button on the same form ??
Appreciate any good answers.
~~ Maneesh