Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Pivot Table Calculations

Dear Friends,

How can I perform operations with the values created from a pivo
table?

How can I copy a Pivot Table to another location?

Thanks,


--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,979
Default Pivot Table Calculations

To copy a pivot table:

Sheets("Pivot").PivotTables(1).TableRange2.Copy _
Destination:=Sheets("Sheet1").Range("A1")

To work with pivottable values, use the GetPivotData method:

Dim pt As PivotTable
Set pt = Sheets("Pivot").PivotTables(1)

Dim rng As Range
Set rng = pt.GetPivotData("Units", "Region", "Ontario")

Sheets("Sheet1").Range("H1").Value = rng.Value


banavas < wrote:
Dear Friends,

How can I perform operations with the values created from a pivot
table?

How can I copy a Pivot Table to another location?

Thanks,
G


---
Message posted from http://www.ExcelForum.com/



--
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
Pivot Table Calculations mike Excel Worksheet Functions 0 November 23rd 07 02:37 PM
Pivot Table Calculations Steve Excel Worksheet Functions 2 June 22nd 07 01:59 PM
Pivot table Calculations pivot table drop down values Excel Discussion (Misc queries) 0 November 11th 06 09:21 PM
Calculations in Pivot Table pdberger Excel Worksheet Functions 1 October 25th 06 10:13 PM
Pivot Table Calculations jim Excel Discussion (Misc queries) 5 July 10th 06 11:15 PM


All times are GMT +1. The time now is 05:58 PM.

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"