Transfer items between listboxes upon button click

Boechat

New Member
Joined
Jul 16, 2016
Messages
44
Good afternoon,

Hope you get to help me on this one once again.

I'm trying to transfer items between two listboxes, however here is the trick: I need one button to transfer the item from list 1 to list 2, but not to change the data in the source sheet. So if I want to cancel the transfer, I only need to close the form. If I choose to confirm the transfer however, there is a save button to confirm and change the data in the source sheet.

My approach was to create a temporary sheet, that copies all the data from the source upon form activation, so if I hit cancel, the original data isn't affected. If I hit save, it copies the data from the temporary sheet to the source sheet.

However I think there might be a simpler way to do it. Any ideas?

Hope I made myself clear.
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.

Forum statistics

Threads
1,223,214
Messages
6,170,771
Members
452,353
Latest member
strainu

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