VBA to Filter and Cycle Through Multiple Sheets and Save as Own Workbook

ctornabe

New Member
Joined
May 16, 2022
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Hi All, I am new to VBA and have been combing through the message boards trying to find a solution to my problem but can't seem to get any of the options to work. I have 2 different worksheets ("Summary Table", "By Product Source") that both have the same column name "User" and the data has the same users as it is just a different granular view. I want to cycle through each user (on both sheets) and save a workbook with the username of that user,

So for example there are 10 different users and the output would be 10 different saved workbooks saved by the "User" in the column.

In addition, on the Summary Table, I have some metrics at the top that need to show the totals based on the filtered user. I have calculations in there to do this already so would just need to ensure those were update based on the filter. Alos have some conditional formatting I would want to carry over to the new workbook.

Any help here on the VBA needed would be greatly appreciated.

summaryTable.PNG
byproduct.PNG
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.

Forum statistics

Threads
1,215,066
Messages
6,122,948
Members
449,095
Latest member
nmaske

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