ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Listbox selection (https://www.excelbanter.com/excel-discussion-misc-queries/223767-listbox-selection.html)

UB

Listbox selection
 
Hi
I have 4 sets of data that contain names of 4 different team members.
What I want to do is that when user selects TEAM A in the first list box the
2nd list box that has names of the team memebsr should show the names of the
TEAM A
The TEAM data is in cells
TEAM A A2:A16
TEAM B B2:B16
TEAM C C2: C16
TEAM D D2 to D16

Please advise how to write a VBA code and also where should this code be


All times are GMT +1. The time now is 02:15 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com