Automate printing from drop down list and update Pivot Table

EasterGreen

New Member
Joined
Sep 7, 2009
Messages
49
First, I am trying to automate the print to pdf of a bunch of sheets from a drop-down menu driven by a data validation list. I'm not great with macros.
Worksheet “Index” cell A6 includes the drop-down. The data list is in "Index" K27:K65. The directory where I need them to be saved is defined in C6. The suggested file name could be in A6 or B6.
Worksheets “Report1”, “Report2”, “Report3” already update each time A6 is changed. They need to be printed to a pdf file named as above in location as above.
Sheets are already formatted for print so don’t need to worry about this.

Second, “Report3” includes a PivotTable named PivotTable11 that has a filter “MANAGER” in cell B2 that is the same as A6 in Index above. Is there any way to automate a PivotTable to update when the cell in the other sheet is updated? This would probably have to be updated before the print part of the macro.
 

Some videos you may like

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off

Watch MrExcel Video

Forum statistics

Threads
1,127,552
Messages
5,625,464
Members
416,108
Latest member
Ravenhold

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
Top