HI
I am trying to create a form where i have lots of txt boxes but I want all the empty ones to be invisible.
I have sorted the code so that i can make the empty boxes invisible however what I want to know is what is a quick way of selecting multiple txt boxes in a code
i.e my code is:
If Not IsNull(Text0) Then
Me.Text4.Visible = True
Else
Me.Text4.Visible = False
End If
But i need text boxes 4 to 15 to be visible=false how can i do it without writing huge code to say each one individualy
Thanks
I am trying to create a form where i have lots of txt boxes but I want all the empty ones to be invisible.
I have sorted the code so that i can make the empty boxes invisible however what I want to know is what is a quick way of selecting multiple txt boxes in a code
i.e my code is:
If Not IsNull(Text0) Then
Me.Text4.Visible = True
Else
Me.Text4.Visible = False
End If
But i need text boxes 4 to 15 to be visible=false how can i do it without writing huge code to say each one individualy
Thanks