I have 8 labels on a form that I want to be able to loop through changing properties such as visible and forecolor.
I tried naming them lbl(1), lbl(2) ... and refering to them as me.label(i).visible=true but that didn't work
then I tried naming them lbl1, lbl2 ... and referring to them as Me("lbl" & i).visible=true
and that failed as well.
Can anyone tell me how I can do this please
I tried naming them lbl(1), lbl(2) ... and refering to them as me.label(i).visible=true but that didn't work
then I tried naming them lbl1, lbl2 ... and referring to them as Me("lbl" & i).visible=true
and that failed as well.
Can anyone tell me how I can do this please