Assigning unique code to each combo box or checkbox

Himy

New member
Local time
Today, 07:42
Joined
Jan 11, 2002
Messages
6
I wish to assign an if the else procedure to a combo box - I then want to do a similar one to another, but with different variables. Each time I go to assign code it always refers back to the same code, and if I change the code for one - it changes it for all of them - so do I need to create modules for each procedure? And if so - how to I "Call them" in my Events list?? they are also all Form_Current procedures...

Thanks for your help,

Himy
 
Open up the properties of the combo box you wish to add your code to, go to the events tab and click on the field next to "On Change" and select code builder. This will bring up the VBA editor for that combo box. Repeat these steps for your other combo box(s). This should create a new sub routine for each combo box.
 

Users who are viewing this thread

Back
Top Bottom