If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Excel > Extract Page Field Items from a Pivot Table?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-03-07, 10:11
JBee JBee is offline
Registered User
 
Join Date: Aug 2004
Location: Manchester, England
Posts: 23
Extract Page Field Items from a Pivot Table?

Hi All,

Hope someone can help with this. I'd like to know how to extract items from a pivot table page field using VBA. For example, say I have several items in my page field relating to products etc, is there a way I can loop through them so I can populate an array or such like. I'm thinking something along the lines of...

For Each Item in Sheet1.PivotTables(1).PivotFields("Product") etc...
Debug.Print Item
Next

Hope this makes sense.

Many Thanks,

JBee
Reply With Quote
  #2 (permalink)  
Old 09-09-07, 14:46
norie norie is offline
Registered User
 
Join Date: Mar 2006
Posts: 163
Couldn't you just get that information from the raw data?
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On