LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Auto Update Range of a Pivot Table


I have created a simple data base and pivot table / report. I would
like the pivot table to automatically update to a new range (if data
has been added to the next available row of course) in addition to
updating existing data. Can anyone help with this. I have used this
to auto update the existing data when the sheet is activated.

Option Explicit

Private Sub Worksheet_Activate()

ActiveSheet.PivotTables("PivotTable1").PivotCache. Refresh

End Sub

Works great. Thanks

Terri


--
TJDeborah
------------------------------------------------------------------------
TJDeborah's Profile: http://www.excelforum.com/member.php...o&userid=33186
View this thread: http://www.excelforum.com/showthread...hreadid=533987

 
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
auto update my pivot table rodchar Excel Discussion (Misc queries) 0 March 26th 09 02:25 AM
Auto Update a Pivot Table johnsail Excel Discussion (Misc queries) 2 March 10th 09 07:27 AM
Auto update of Pivot Table johnsail Excel Discussion (Misc queries) 0 March 9th 09 04:14 PM
How do I set the pivot table to auto-update the data range? Toni @ Fidelity Excel Discussion (Misc queries) 3 March 17th 06 09:45 PM
Pivot Table Auto Update Data Source? Ket Excel Worksheet Functions 1 February 18th 05 11:14 PM


All times are GMT +1. The time now is 10:02 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"