ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   pivot table refresh (https://www.excelbanter.com/excel-programming/284131-re-pivot-table-refresh.html)

Tom Ogilvy

pivot table refresh
 
No, you would us the workbook_Open event to execute the command

Worksheets("sheet1").PivotTables("PivotTable1").Re freshTable


See Chip Pearson's page on Events for an explanation of the Workbook_Open
event

http://www.cpearson.com/excel/events.htm


--
Regards,
Tom Ogilvy



"Valeria" wrote in message
...
Dear experts,
I would like to refresh a pivot table upon opening of the
workbook where it's contained.
I guess it must have something to do with the

Private Sub Worksheet_PivotTableUpdate(ByVal Target As
PivotTable)

but I really can't figure out how I have to use this!
Many thanks in advance.
Kind regards,
Valeria





All times are GMT +1. The time now is 06:32 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com