Loops, vlookup and dropdown lists

lbelzinga

New Member
Joined
Dec 4, 2014
Messages
6
I'm a newbie at VBA and trying to learn how to get a macro to fill out a list for me. I keep running into errors. Here's what I'm trying to do:

I have 2 worksheets: Names and Data

Names is a worksheet with multiple data validation boxes

Data is a list of all those names with counts of how many times they are listed in the Names worksheet

If cell A1 is blank, I want to cycle through the names in the data validation box based on the lowest corresponding value in the Data worksheet. Then move on to the next cell and look for the same things

What code will run through these cells looking at the values in the dropdown boxes?
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.

Forum statistics

Threads
1,226,730
Messages
6,192,708
Members
453,748
Latest member
akhtarf3

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