LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Refresh Pivot Tables

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Refresh Pivot Tables with one hit cockatoo Excel Discussion (Misc queries) 3 October 24th 08 05:04 PM
Cannot Refresh Pivot Tables Babs in Ohio Excel Worksheet Functions 0 July 18th 07 02:40 PM
Pivot Tables Refresh Janet BN Excel Discussion (Misc queries) 3 February 12th 07 10:28 PM
Refresh multiple pivot tables Latasha at PBG Excel Discussion (Misc queries) 0 May 2nd 06 04:04 PM
Pivot Tables -- Auto Refresh Aastha Excel Discussion (Misc queries) 1 March 30th 06 08:12 PM


All times are GMT +1. The time now is 07:39 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"