#1   Report Post  
Henrik
 
Posts: n/a
Default Update pivottables

Is it possible to update (here understood as changing an element of a field)
in more than one table with one operation only, or do all tables have to be
updated manually?

For instance, if I have several pivottables with a 'Country' field in the
page section and I want to update all from, say. Germany to France, can that
be done in one operation?
  #2   Report Post  
Debra Dalgleish
 
Posts: n/a
Default

You can do this with programming. There's a sample file he

http://www.contextures.com/excelfiles.html#Pivot

Under PivotTables, look for 'Change Page Field'

Henrik wrote:
Is it possible to update (here understood as changing an element of a field)
in more than one table with one operation only, or do all tables have to be
updated manually?

For instance, if I have several pivottables with a 'Country' field in the
page section and I want to update all from, say. Germany to France, can that
be done in one operation?



--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html

  #3   Report Post  
Henrik
 
Posts: n/a
Default

I can see how it works in the example file -- now how do I get it to work on
my file as well? Didn't show up as an add-in...

"Debra Dalgleish" wrote:

You can do this with programming. There's a sample file he

http://www.contextures.com/excelfiles.html#Pivot

Under PivotTables, look for 'Change Page Field'

Henrik wrote:
Is it possible to update (here understood as changing an element of a field)
in more than one table with one operation only, or do all tables have to be
updated manually?

For instance, if I have several pivottables with a 'Country' field in the
page section and I want to update all from, say. Germany to France, can that
be done in one operation?



--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html


  #4   Report Post  
Debra Dalgleish
 
Posts: n/a
Default

To adapt the code to your workbook:

Right-click on the Sales Pivot sheet tab, and choose View Code
Copy all the code
Switch to your workbook, and right-click on the main pivot table sheet
tab, and choose View Code
Paste the copied code.
In the code, change the references to match your workbook. For example,
change: strField = "Item"
to the name of your page field, and change the worksheet name:
Set wsOther = Sheets("Other Pivots")
to match the sheet name where your secondary pivot tables are located.

Henrik wrote:
I can see how it works in the example file -- now how do I get it to work on
my file as well? Didn't show up as an add-in...

"Debra Dalgleish" wrote:


You can do this with programming. There's a sample file he

http://www.contextures.com/excelfiles.html#Pivot

Under PivotTables, look for 'Change Page Field'

Henrik wrote:

Is it possible to update (here understood as changing an element of a field)
in more than one table with one operation only, or do all tables have to be
updated manually?

For instance, if I have several pivottables with a 'Country' field in the
page section and I want to update all from, say. Germany to France, can that
be done in one operation?



--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html





--
Debra Dalgleish
Excel FAQ, Tips & Book List
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
Update links prompt not wanted neeraj Excel Discussion (Misc queries) 5 September 23rd 05 06:34 PM
keep value from last update and don't ask to update links jh3016 Excel Discussion (Misc queries) 3 July 25th 05 01:37 AM
Copy cell format to cell on another worksht and update automatical kevinm Excel Worksheet Functions 21 May 19th 05 11:07 AM
Edit Links: make update manual Chrissorr Excel Discussion (Misc queries) 5 May 11th 05 11:57 PM
Update Individual Links mikxtr Excel Discussion (Misc queries) 3 January 21st 05 04:24 AM


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

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

About Us

"It's about Microsoft Excel"