Hi all,
I have a loop function I'm writing and I want it to look through several text entry boxes in a userform. The boxes are names Race1, Race2, Race3 etc
I want to vary the box I'm looking at using a variable called Ra. Below is a sample line:
If Not Me.Race & Ra.Value = "" Then
This doesn't work but I'm not sure how to make it so the code 'sees' Race1 instead of Race & Ra. Any ideas?
Thanks!
I have a loop function I'm writing and I want it to look through several text entry boxes in a userform. The boxes are names Race1, Race2, Race3 etc
I want to vary the box I'm looking at using a variable called Ra. Below is a sample line:
If Not Me.Race & Ra.Value = "" Then
This doesn't work but I'm not sure how to make it so the code 'sees' Race1 instead of Race & Ra. Any ideas?
Thanks!