Hi Members,
I am a beginner at VBA and would like to ask for some help from fellow members please.
I have a Userform with a ComboBox which accesses a RowSource Range (For example, Column A) in a worksheet.
I would like to filter the items in the ComboBox list (Column A) based on the corresponding data in (For example, Column B)
Example:
(Column A) (Column B)
(A1) Apples (B1) Fruit
(A2) Pears (B2) Fruit
(A3) Bricks (B3) Building
(A4) Bananas (B4) Fruit
(A5) Timber (B5) Building
When I click on the ComboBox I would like it to display only the items in (Column A) based on its corresponding value in (Column B)
Example:
(Drop Down List)
(A3) Bricks
(A5) Timber
I hope my explanation is not confusing.
Thanks in advance.
CA
I am a beginner at VBA and would like to ask for some help from fellow members please.
I have a Userform with a ComboBox which accesses a RowSource Range (For example, Column A) in a worksheet.
I would like to filter the items in the ComboBox list (Column A) based on the corresponding data in (For example, Column B)
Example:
(Column A) (Column B)
(A1) Apples (B1) Fruit
(A2) Pears (B2) Fruit
(A3) Bricks (B3) Building
(A4) Bananas (B4) Fruit
(A5) Timber (B5) Building
When I click on the ComboBox I would like it to display only the items in (Column A) based on its corresponding value in (Column B)
Example:
(Drop Down List)
(A3) Bricks
(A5) Timber
I hope my explanation is not confusing.
Thanks in advance.
CA