I want to create worksheets in a workbook based on criteria used in a Pivot Table... I think I've seen a podcast that demonstrates how this can be done but, I can't find it.
For instance, if the pivot table rows contain the States and the value columns contain a count of cities, when you click on the city count a new worksheet opens with all the data for that State (e.g., row). I want to create worksheets for all the States in the same workbook. I'd also be interested in how you would do the same thing but, create the individual State worksheets in new Workbooks.
How do you automate the process and create worksheets re-named for each State that contain a list of all the cities for that State?
I am somewhat familiar with VBA.
Thanks in advance for your assistance.
For instance, if the pivot table rows contain the States and the value columns contain a count of cities, when you click on the city count a new worksheet opens with all the data for that State (e.g., row). I want to create worksheets for all the States in the same workbook. I'd also be interested in how you would do the same thing but, create the individual State worksheets in new Workbooks.
How do you automate the process and create worksheets re-named for each State that contain a list of all the cities for that State?
I am somewhat familiar with VBA.
Thanks in advance for your assistance.