Changing Userform content size automatically

Phili

New Member
Joined
Nov 21, 2018
Messages
2
Hi

I want to set up a general general RFQ compiler using Excel.

I would start with a table and manually input part numbers. Then I would use a macro to input suppliers and prices.

There could be 20 parts in total but some suppliers might only be quoting for 1 or 2.

I am thinking of using two Userforms for this.

The first Userform would be for entering the supplier info and identifying how many parts this company will be quoting.
The second Userform is for selecting these products and entering the prices.

I want to select the parts, in the second Userform, using a listbox but the amount of list boxes available in the second form should correspond to the amount of parts being quoted. So if in the first Userform I say that the company is quoting for 5 of the 20 parts then only 5 list boxes should be available in the second Userform.

Is there a way to do this?
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
Hi,
welcome to forum

What you are asking should be doable but suggest that if you are new to userforms then have a look here:https://www.contextures.com/

This is just one of a number of sites that offers free guidance & sample files you can down load.

Here is one example file that may be of interest:https://www.contextures.com/ExcelTemplates/PartLocDBComboAdd.zip

This is just an example file but should give you some idea what will be involved in developing your project

Hope Helpful.

Dave
 
Upvote 0

Forum statistics

Threads
1,224,763
Messages
6,180,827
Members
452,998
Latest member
Minkie88

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