Home |
Search |
Today's Posts |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
My thanks to Ogilvy et al.
This seems to work fine - select any pivot table first [the separate protect macros are to keep the password hidden in only one place] Sub PtRefresher() Application.Run Range("Unprotecter" ActiveSheet.EnablePivottable=True ActiveSheet.Pivottables(1).RefreshTable MsgBox "Pivot Table Refreshed" Application.RunRange("Protecter") End Sub However, it don't work if a derived PT is on a nearby locked sheet. Is there any way round? I have recently decided to avoid derived sheets and always start from scratch: is this the only way? Is there any way of pasting stuff into these handy messages, for slow typists? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Refresh Pivot Tables with one hit | Excel Discussion (Misc queries) | |||
Cannot Refresh Pivot Tables | Excel Worksheet Functions | |||
Pivot Tables Refresh | Excel Discussion (Misc queries) | |||
Refresh multiple pivot tables | Excel Discussion (Misc queries) | |||
Pivot Tables -- Auto Refresh | Excel Discussion (Misc queries) |