Using existing lists/drop-down options/Excel formulas in Userforms

agent_maxine

New Member
Joined
Aug 23, 2017
Messages
38
After hours of searching for this topic with not much success, I thought I'd ask the question here.
I have a giant spreadsheet that contains many formulas, Excel tables and other references. In order to make it more user-friendly, I decided to create the Userforms to centralize all the data entry point.


  1. Entry into ComboBox1 is to be mapped to Cell A1. Cell A1 currently contains a list from Excel Table 1, Column 1 ("Table1[Column1]").
  2. Entry into TextBox2 is to be mapped to Cell B2. Cell B2 currently is a Vlookup formula that grabs the default/suggested value, but users can change them. I would like to have these vlookup values as the default entry of TextBox2, but open so that users can amend them. (Note: This is a Vlookup based on value that would be entered by users at the same time, just a few textboxes above).
  3. I would like to have "Submit" (Save/Close) and "Cancel" (Don't Save/Close) command buttons at the bottom. I would also like a command button on the Worksheet ("Sheet1") where users can click to add/edit the previously entered info in Userforms. Is there a way to do this without assigning the cell values to each text-boxes/combo-boxes individually? I have 1 spreadsheet per client so there is no need to worry about growing number of rows, however the Userforms have approx. 100 fields so it would be a bit of pain to have to map them one by one!

Thank you muchly in advance for your kind assistance and expertise :)
 
Last edited:

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.

Forum statistics

Threads
1,223,911
Messages
6,175,337
Members
452,637
Latest member
Ezio2866

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