I have two combo boxes (ComboBox1 and ComboBox2) on an Excel sheet. ComboBox1 is poplulated with data from one column from existing rows of data when the file is opened, which works great. The function of ComboBox1 is to filter the existing rows of data using the ComboBox1_Change event, which also works fine.
ComboBox2 is populated with data from the filtered rows also using the ComboBox1_Change event. This is working, but it populates ComboBox2 with duplicate data since the unfiltered list contains duplicates. The current code I have to populate ComboBox2 steps through each row rather than only the filtered rows. Is there a way to step through and add only the filtered data to ComboBox2? Below is my current code for populating ComboBox2:
Bookmarks