UserForm with dropdown cells

B-Man

Board Regular
Joined
Dec 29, 2012
Messages
185
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

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
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,223,604
Messages
6,173,320
Members
452,510
Latest member
RCan29

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