J
Jeff Harbin
I am creating a data entry form that contains 2 controls: one is a combo
box and the other is a list box. I am populating the control box using
the .AddItem method (property?) during the Form.Initialize Event and
have successfully accomplished this.
The list box is intended to be a dynamic list based on whichever choice
is selected in the ComboBox. All the data is listed in 2 rows of a
single worksheet - PartsList!A:B. Column A contains the Customer Name
which would correspond with the value selected in the Combobox and
Column B contains the Part Number.
I know I could programmically build the list box by comparing the value
selected in the combobox with the value in Column A and then use the
..AddItem mechanism to add the value from Column B. And them loop
through the entire spreadsheet.
I was just wondering if there was an easier way.
Thanks...
box and the other is a list box. I am populating the control box using
the .AddItem method (property?) during the Form.Initialize Event and
have successfully accomplished this.
The list box is intended to be a dynamic list based on whichever choice
is selected in the ComboBox. All the data is listed in 2 rows of a
single worksheet - PartsList!A:B. Column A contains the Customer Name
which would correspond with the value selected in the Combobox and
Column B contains the Part Number.
I know I could programmically build the list box by comparing the value
selected in the combobox with the value in Column A and then use the
..AddItem mechanism to add the value from Column B. And them loop
through the entire spreadsheet.
I was just wondering if there was an easier way.
Thanks...