Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10
Default Update PivotTable

I have a series of pivottables on different tabs.

I have the first one updated from an MS access database. The rest of
the pivottables are all built on the data from the first pivot table.

I have a macro set up to do the requery to the database which works
fine - however, when I try to get code to refresh the rest of the
pivotTables, which are built on the dataset from the first, i am
running into all sorts of problems. Any idea on how I should be writing
a macro to get the data to refresh properly based on the first
pivotTable?

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10
Default Update PivotTable

I forgot to add..

The code I am TRYING to use to get the pivotTable to relink is as
follows:

ActiveSheet.PivotTableWizard SourceType:=xlPivotTable, SourceData:= _
"LaborData"

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10
Default Update PivotTable

Well,

This is what I have been told, however, it does not seem to be working
this way. I set the second pivot table equal to the first. Then I
update the first pivot table, and the second one will not refresh. I
will look into a work-around since I'm guessing something isn't working
due to a setting somewhere that I'll never find.


Debra Dalgleish wrote:
If all the pivot tables use the same source data, and you refresh one,
that should refresh the data for the others. What problems are you having?

wrote:
I have a series of pivottables on different tabs.

I have the first one updated from an MS access database. The rest of
the pivottables are all built on the data from the first pivot table.

I have a macro set up to do the requery to the database which works
fine - however, when I try to get code to refresh the rest of the
pivotTables, which are built on the dataset from the first, i am
running into all sorts of problems. Any idea on how I should be writing
a macro to get the data to refresh properly based on the first
pivotTable?


--
Debra Dalgleish
Contextures
http://www.contextures.com/tiptech.html


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,979
Default Update PivotTable

Ron Coderre has a pivot table add-in that lets you view and edit the
connection string and command text, so you can change the source, in
Excel 2002 or Excel 2003:

http://www.contextures.com/xlPivotPlay01.html

Maybe that would help with the updates.

wrote:
Well,

This is what I have been told, however, it does not seem to be working
this way. I set the second pivot table equal to the first. Then I
update the first pivot table, and the second one will not refresh. I
will look into a work-around since I'm guessing something isn't working
due to a setting somewhere that I'll never find.


Debra Dalgleish wrote:

If all the pivot tables use the same source data, and you refresh one,
that should refresh the data for the others. What problems are you having?

wrote:

I have a series of pivottables on different tabs.

I have the first one updated from an MS access database. The rest of
the pivottables are all built on the data from the first pivot table.

I have a macro set up to do the requery to the database which works
fine - however, when I try to get code to refresh the rest of the
pivotTables, which are built on the dataset from the first, i am
running into all sorts of problems. Any idea on how I should be writing
a macro to get the data to refresh properly based on the first
pivotTable?


--
Debra Dalgleish
Contextures
http://www.contextures.com/tiptech.html




--
Debra Dalgleish
Contextures
http://www.contextures.com/tiptech.html



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
macro unouwanme Excel Discussion (Misc queries) 9 August 31st 06 09:38 PM
PivotTable and Chart Michael Excel Discussion (Misc queries) 0 August 3rd 06 06:57 PM
Dynamic parameterized PivotTable update? Nick Keller Excel Discussion (Misc queries) 0 February 24th 06 11:02 PM
options to update automatic links Werner Rohrmoser Excel Worksheet Functions 0 November 10th 05 12:58 PM
Prompt to update links Werner Rohrmoser Links and Linking in Excel 0 November 3rd 05 09:47 AM


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