» Automatically Refreshing a PivotTable Report
CATEGORY - Excel Pivot Tables
VERSION - All Microsoft Excel Versions
To automatically refresh the data in a PivotTable Report:• Step 1: Automatically update the source data range Name
• Step 2: Add a VBA Event to automatically refresh the PivotTable report
1. Press Alt+F11, and then double-click the sheet name in the VBAProject pane.
2. From the left dropdown list above the Module sheet, select Worksheet, and from the right dropdown list, select Activate.
3. Copy the code from the Macro Event Activate in the screenshot.
4. Press Ctrl+S to save the workbook, and then press Alt+F4 to close the VBE. The
PivotTable report is refreshed automatically upon selecting the sheet that contains it.
Note:
To find the PivotTable report name (in this example, PivotTable1), select a cell in the PivotTable report, right click, and then select Table Options from the shortcut menu.

Book Store:
Recommended Books:
- Microsoft Windows XP Inside Out
- Microsoft Office Xp: Advanced Concepts and Techniques: Word 2002, Excel 2002, Access 2002, Powerpoint 2002
- H&R Block's Just Plain Smart(tm) Tax Planning Advisor: A year-round approach to lowering your taxes this year, next year and beyond
- Getting to Yes: Negotiating Agreement Without Giving In
- Real Estate Finance and Investments (Real Estate Finance and Investments, 11th Ed)
- Financial Shenanigans : How to Detect Accounting Gimmicks & Fraud in Financial Reports
No comments have been submitted.

