Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How to pull values from the pivot table fields, through the code/.

I have a pivot table made from a set of data in the same workbook i m working
on.Now i want to get the values from pivot tables as and when i select
values, corresponding to that values i need only the sum fields value.
eg
field names:A B Sum
Values in filed A= 1,2,3
Values in filed B= 4,5,6
Values in field c= 5,7,9

so wenever i select (1 in A) & (4 in B) ,i should get the value of C(=5) in
some empty cell of Excel.
say somewhere in F7 value should come as 5
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How to pull values from the pivot table fields, through the code/.


Have you thought about usign the formula GETPIVOTDATA or do you only
want to do it through code?


--
MattShoreson
------------------------------------------------------------------------
MattShoreson's Profile: http://www.excelforum.com/member.php...fo&userid=3472
View this thread: http://www.excelforum.com/showthread...hreadid=531831

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How to pull values from the pivot table fields, through the co

Yaa i tried that too, just for a temporary solution.but that wont work,
actually i have a huge data, so wanted to automate the process,thts why
wanted to do it through the code.
please tell me if there's a way out.

thanks

"MattShoreson" wrote:


Have you thought about usign the formula GETPIVOTDATA or do you only
want to do it through code?


--
MattShoreson
------------------------------------------------------------------------
MattShoreson's Profile: http://www.excelforum.com/member.php...fo&userid=3472
View this thread: http://www.excelforum.com/showthread...hreadid=531831


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default How to pull values from the pivot table fields, through the co

You example is pretty meaningless, so you would need to be more specific in
what you want. If you had a pivot table displayed as

1 4 5
2 5 7
3 6 9

then you could do

msgbox columns(1).Find(1).offset(0,2).Value

But that is obviously not what you want.

--
regards,
Tom Ogilvy


"seven_snow" wrote:

Yaa i tried that too, just for a temporary solution.but that wont work,
actually i have a huge data, so wanted to automate the process,thts why
wanted to do it through the code.
please tell me if there's a way out.

thanks

"MattShoreson" wrote:


Have you thought about usign the formula GETPIVOTDATA or do you only
want to do it through code?


--
MattShoreson
------------------------------------------------------------------------
MattShoreson's Profile: http://www.excelforum.com/member.php...fo&userid=3472
View this thread: http://www.excelforum.com/showthread...hreadid=531831


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
How to remove non-exist values in pull-down list in pivot table Terence C Excel Worksheet Functions 1 May 20th 09 09:20 AM
fields names do not show in excel 2007 pivot table fields list marlo17 New Users to Excel 2 December 1st 08 01:25 PM
entry removed from source table remains in pivot table pull down EL in Melb. Excel Worksheet Functions 1 September 6th 06 07:59 AM
Pivot table page fields add values previously deslected Robin Excel Discussion (Misc queries) 1 May 31st 06 02:47 PM
number of fields in the row fields in pivot table UT Excel Discussion (Misc queries) 0 April 13th 06 01:17 AM


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