Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Pivot table refresh automatically when data changes

I need to make a Pivot Table Refresh after a change in a specific cell range
on and active worksheet?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,939
Default Pivot table refresh automatically when data changes

This should be close. It needs to be pasted into the sheet. Right click the
tab you want to catch the change in, select View Code and paste the
following...

(It looks at the Range A2:C100 waiting for a change)

Private Sub Worksheet_Change(ByVal Target As Range)
If Not Intersect(Target, Me.Range("A2:C100")) Is Nothing Then
Sheets("Sheet2").PivotTables(1).RefreshTable
End If
End Sub
--
HTH...

Jim Thomlinson


"David J" wrote:

I need to make a Pivot Table Refresh after a change in a specific cell range
on and active worksheet?

Reply
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
Automatically Refresh pivot table Shell Excel Discussion (Misc queries) 6 December 17th 09 08:33 PM
Automatically Refresh Pivot Table Data [email protected] Excel Worksheet Functions 1 February 25th 09 11:38 PM
Create refresh button in worksheet to refresh Pivot Table Data Ron Excel Worksheet Functions 1 October 13th 07 01:20 AM
Refresh Pivot Table Automatically anandmr65 Excel Discussion (Misc queries) 1 July 11th 06 01:04 PM
Pivot Table REFRESH Flaw -- Saves Old Data in Selection Area AFTER REFRESH Ken Roberts Excel Programming 3 September 11th 03 06:02 AM


All times are GMT +1. The time now is 12:12 AM.

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"