Send Combobox values by e-mail

Stef6

New Member
Joined
Aug 1, 2018
Messages
15
Hi,

I have a userform with a few comboboxes (CB's) and a button. Does anyonehave a code so that when the button is pressed the values of the CB's areexported to another xls (open file, insert new line, value CB1 to column A, CB2to B, etc)?Can a userform be protected with a password so that others do not haveaccess?
Kind regards,





 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
combo boxes in a form are fed from a sheet already. So why read them from a sheet, to fill the box, to then write them back to a sheet?

If they are not fed this way, this means they are fed from VB code. If they are fed from code, change it and put the values in a sheet to feed the box.
 
Upvote 0

Forum statistics

Threads
1,223,756
Messages
6,174,320
Members
452,555
Latest member
colc007

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