combo boxes enabled

R

Ryan W

I have two cbo boxes that I would like to have disabled on form load, but
when the user clicks a chk box, the after_update will enable the two
cboboxes. What would my code look like?

Thank you
 
G

Graeme Richardson

Hi Ryan, in the AfterUpdate event of the checkbox, place the code

cbo1.Enabled = chk ' where chk is the name of the checkbox control
cbo2.Enabled = chk

Graeme
 
Top