Using User form to load workbook, extract and combine desired data into new workbook or worksheet

SimpleUser

New Member
Joined
Jun 20, 2016
Messages
9
Hi. I have this excel workbook xlsx with the 1st worksheet named as "Email Status" with data from column A to S as shown below.
1705048730918.png



I've previously manually extract the VM data by filtering and copying onto a new sheet for each ReferenceCode then using function
Excel Formula:
=CHAR(34)&"Name"&CHAR(34)&" IN ("&CHAR(34)&TEXTJOIN(CHAR(34)&","&CHAR(34),TRUE,Extract!C2:C14)&CHAR(34)&")"
to get results for those with "Exception" status. It's a bit troublesome to do it daily using this method.


Instead I'm thinking of using a user form. The idea is to load the excel workbook data and then by clicking the button it should export the desired data into a new workbook or worksheet.
1705057237321.png



I need help on the user form to load the workbook, extract and combine the VM data with only the status "Exception" according to each similar "ReferenceCode" into another workbook or worksheet to look like the following results as shown.
1705049110590.png



Is there any way that this can be done??
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!

Forum statistics

Threads
1,223,937
Messages
6,175,510
Members
452,650
Latest member
Tinfish

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