why won't this work:
VB Code:
dim coll as collection dim og as OptionButton dim cb as ComboBox dim TB as TextBox for each og in me.controls coll.add og next for each.... ' same with textboxes and comboboxes but it gives me an error. even this won't work: for each cb in me.controls .... ctr.enabled=false next cb


Reply With Quote
