Transferring data from two Listboxes in a Userform to an Excel Table

nrollo

New Member
Joined
Jan 5, 2018
Messages
1
Is there any way to transfer data from two Listboxes (which hold separate data) from a UserForm into an Excel Table so it looks like this:

IDDateLocationObject1Name1Name 1
IDDateLocationObject1Name1Name 2
IDDateLocationObject1Name1Name 3
IDDateLocationObject2Name1Name 1
IDDateLocationObject2Name1Name 2
IDDateLocationObject2Name1Name 3
IDDateLocationObject3Name1Name 1
IDDateLocationObject3Name1Name 2
IDDateLocationObject3Name1Name 3

<tbody>
</tbody>

ID = MAX Count + 1
Date = DD/MM/YYYY (selected from the Calendar Object)
Location = Combobox (List comes from a different table)
Object = Listbox1 (items are added from a combobox into the listbox within the UserForm)
Name1 = Name 1 need to match for a later calculation
Name 1, 2 ,3 = Listbox2 (items are added from a different combobox into the listbox within the UserForm)

Sorry my information is a little vague, but that's the only way to describe it.
 

Some videos you may like

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December

Watch MrExcel Video

Forum statistics

Threads
1,122,809
Messages
5,598,202
Members
414,218
Latest member
speedbit

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
Top