Link to home
Create AccountLog in
Avatar of Rick Danger
Rick DangerFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Access VBA: Setting form controls

This may be a silly question, or it could be obvious. Maybe both.

In VBA, I want to do this:
     Me.Label1.Visible = True
But, in a loop. So the loop goes from 1 to 10 incrementing by 1, achieving this:
     Me.Label1.Visible = True
     Me.Label2.Visible = True    
     Me.Label3.Visible = True    
     Me.Label4.Visible = True
etc.
ASKER CERTIFIED SOLUTION
Avatar of kmslogic
kmslogic
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of Rick Danger

ASKER

Simple, but perfect!