clhare
06-12-2006, 05:49 AM
Hello,
I have a macro user form that will have 3 combo boxes in it:
cboPlanName
cboElection1
cboElection2There are five possible plan names in the cboPlanName box. Three of the plan names only have one election, but one of the plan names has two possible elections and the other plan name has four possible elections:
Plan Name 1:
First election will always be Election A
There is never a second electionPlan Name 2:
First election will always be Election B
There is never a second electionPlan Name 3:
First election will always be Election C
There is never a second electionPlan Name 4:
First election can be either:
-- Election D
-- Election E
Second election can be either:
-- Election D
-- Election E
-- No second electionPlan Name 5:
First election can be either:
-- Election F
-- Election G
-- Election H
-- Election I
Second election can be either:
-- Election F
-- Election G
-- Election H
-- Election I
-- No second electionIs there a way to populate the cboElection1 and cboElection2 combo boxes based on what's selected in the cboPlanName combo box, so only the elections that apply to the plan name selected are available?
In the case of Plans 4 and 5, whatever is selected for the first election cannot be selected for the second election.
Your help is greatly appreciated!
I have a macro user form that will have 3 combo boxes in it:
cboPlanName
cboElection1
cboElection2There are five possible plan names in the cboPlanName box. Three of the plan names only have one election, but one of the plan names has two possible elections and the other plan name has four possible elections:
Plan Name 1:
First election will always be Election A
There is never a second electionPlan Name 2:
First election will always be Election B
There is never a second electionPlan Name 3:
First election will always be Election C
There is never a second electionPlan Name 4:
First election can be either:
-- Election D
-- Election E
Second election can be either:
-- Election D
-- Election E
-- No second electionPlan Name 5:
First election can be either:
-- Election F
-- Election G
-- Election H
-- Election I
Second election can be either:
-- Election F
-- Election G
-- Election H
-- Election I
-- No second electionIs there a way to populate the cboElection1 and cboElection2 combo boxes based on what's selected in the cboPlanName combo box, so only the elections that apply to the plan name selected are available?
In the case of Plans 4 and 5, whatever is selected for the first election cannot be selected for the second election.
Your help is greatly appreciated!