Automate printing from drop down list and update Pivot Table

EasterGreen

Board Regular
Joined
Sep 7, 2009
Messages
50
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.
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.

Forum statistics

Threads
1,214,956
Messages
6,122,465
Members
449,085
Latest member
ExcelError

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