UserForm with dropdown cells

B-Man

Board Regular
Joined
Dec 29, 2012
Messages
183
Office Version
  1. 2019
Platform
  1. Windows
I have a group of cells that I fill with information for the rest of the sheet to work with.
some are just standard cells and that's fine but I have some setup as data validation lists with the in cell dropdown ticked.

how do I input that into the userform to allow me to do the same thing as the data validation list but inside the userform?
or do I have to remove the data validation list and create a listbox?
id like to keep it setup as how it is if I want to manually change something rather than having to open the userform just to change one thing.
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
ended up finding this formula when i found the right google search terms
VBA Code:
uf.ComboBox1.List = Split(Range("C7").Validation.Formula1, ",")
where uf=userform name and range "c7" is where your existing data validation is
 
Upvote 0
Solution

Forum statistics

Threads
1,214,808
Messages
6,121,681
Members
449,048
Latest member
81jamesacct

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