How to generate labels and textbox on a form from a list in a sheet?

marlonsaveri

Board Regular
Joined
Jan 28, 2011
Messages
68
Hello,
In my workbook, each worksheet refers to a name (sample: city) and within the sheets, there are properties on this name. As a database in Excel, easily understood by users).
I created a form where you can insert new sheets with new properties using "labels" and "textbox" fixed. (A new worksheet is created with the chosen name and some properties are typed in textbox pasted in the new sheet).
However, they asked me to do more than that: I have a form that is able to insert new names (sheets); i need one that is able to insert new properties, ie: when the user enters a new property, a new line appears in each sheet dealing with such property.
Problem: When I want to insert a new account, this new property isn't be there in form, because the labels and textbox are fixed. So, I need a form textbox and labels that vary according to who is on a list (without knowing how many words are on the list) and, finally, pressing enter, your entry will appear in the new worksheet Textb ahead the names of the properties.
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
Why not use a listbox?

Then you won't be restricted to how many items you can display.
 
Upvote 0
\o/
Thanks so much... So simple thing and it'll solve my problem, thanks a lot.

There is a way to see a listbox like we see a combobox? Or using a combobox like a listbox?

Thanks again.
 
Upvote 0
Not sure what you mean.

Both a listbox and a combobox can be populated with multiple items, but if you want to display multiple items use a listbox.
 
Upvote 0

Forum statistics

Threads
1,224,574
Messages
6,179,626
Members
452,933
Latest member
patv

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