VBA - data validation drop down with unique values

MTrip

New Member
Joined
Oct 25, 2018
Messages
4
****** id="cke_pastebin" style="position: absolute; top: 0px; width: 1px; height: 1px; overflow: hidden; left: -1000px;">

-5down votefavorite

I am looking at sales data and have 30000 lines of data. In column B is the name of "Product" sold. There are many duplicate values in this column considering that this is the sales data.
I want to write a VBA code to create a dropdown combo-box with unique values.
Request your help.
Thank you, ManishI am looking at sales data and have 30000 lines of data. In column B is the name of "Product" sold. There are many duplicate values in this column considering that this is


</body>I am looking at sales data and have 30000 lines of data. In column B is the name of "Product" sold. There are many duplicate values in this column considering that this is the sales data.

I want to write a VBA code to create a dropdown combo-box with unique values.
Request your help.
Thank you, Manish
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
Cross posted https://stackoverflow.com/questions/53016149/vba-dropdown-box-with-unique-values#

While we do not prohibit Cross-Posting on this site, we do ask that you please mention you are doing so and provide links in each of the threads pointing to the other thread (see rule 13 here along with the explanation: Forum Rules).
This way, other members can see what has already been done in regards to a question, and do not waste time working on a question that may already be answered.
 
Upvote 0

Forum statistics

Threads
1,215,497
Messages
6,125,158
Members
449,208
Latest member
emmac

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top