hi,i have over 20 labels o m form and i was wondering is here any way tha you can send a mass command to get them all orjust certain ones for example
Private Function MassLabel(sFrom as Form, sCommand as String, sValue as String, ParamArray aLabels() as Variant)
thatworks when i use somehing like
MassLabel frmMain, "Visable", "True", "lbl1", "lbl2", "lbl7", "lbl13", "lbl14", "lbl15"
so that it would make lbl's 1,2,7,13,14 and 15 all visable at once, cus its just right annoyng whenyou have to type out label1.enable = false about 40 times
so any help would be appreciated.
Kind Regards
Devon.
Private Function MassLabel(sFrom as Form, sCommand as String, sValue as String, ParamArray aLabels() as Variant)
thatworks when i use somehing like
MassLabel frmMain, "Visable", "True", "lbl1", "lbl2", "lbl7", "lbl13", "lbl14", "lbl15"
so that it would make lbl's 1,2,7,13,14 and 15 all visable at once, cus its just right annoyng whenyou have to type out label1.enable = false about 40 times
so any help would be appreciated.
Kind Regards
Devon.
Comment