![]() |
RefreshAll pivot tables but query
hi,
is there a way to use ThisWorkbook.RefreshAll to refresh all pivot tables in the workbook but leave a query "unrefreshed"? Thanks, -- ______ Regards, Greg |
RefreshAll pivot tables but query
Nope... You can traverse through all of the sheets and all of the pivot tbles
on those sheets refreshing each something like this... sub RefreshPivotTables dim wks as worksheet dim pvt as pivottable for each wks in worksheets for each pvt in wks.pivottables pvt.refreshtable next pvt next wks end sub -- HTH... Jim Thomlinson "Greg" wrote: hi, is there a way to use ThisWorkbook.RefreshAll to refresh all pivot tables in the workbook but leave a query "unrefreshed"? Thanks, -- ______ Regards, Greg |
All times are GMT +1. The time now is 01:14 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com