VBA to select first item in a pivot filter then save copy as

mgamal22

New Member
Joined
Jul 26, 2018
Messages
7
i have a mobile usage table and i created a pivot table with a mobile number filter on the top to show the usage for each mobile number, what i am trying to do is to create a macro to start from the first number in the filter then save copy as in a folder with a cell reference in the same sheet then loop through all numbers in the filters till the end, but i am having troubles, if someone can help me out, Thanks alot
 

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
Are you meaning to get results like using the "Show Report Filter Pages" ?
 
Upvote 0
yes same as Show Report Filter Pages but i wanna show each item in the filter to be displayed in the same page and save copy of the sheet as a new sheet then do the same thing with the rest of the numbers in the filter
 
Upvote 0
"but i wanna show each item in the filter to be displayed in the same page"
I don't understand this part of your request.

I currently use the Show Filter Pages to create individual reports for about 80 cost centers. I then use another macro to export each of those Sheets to New Workbooks.
 
Upvote 0

Forum statistics

Threads
1,223,888
Messages
6,175,219
Members
452,619
Latest member
Shiv1198

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