Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 1
Default Pivot Field Data count

Hello,

Does anyone knows the code in VBA to know how many diferent items a pivot
table field has???

I´m looking for something like:


MyPivotTable.PivotFields("MiPivotField").Count

Thank you in advanced.

Mónica


  #2   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 2,979
Default Pivot Field Data count

MyPivotTable.PivotFields("MiPivotField").PivotItem s.Count

Mónica wrote:
Does anyone knows the code in VBA to know how many diferent items a pivot
table field has???

I´m looking for something like:

MyPivotTable.PivotFields("MiPivotField").Count




--
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
use field data from 1 pivot table in another? fdibbins Excel Worksheet Functions 0 November 6th 06 06:15 PM
change 'count of' to 'sum of' in pivot table field Rob B Excel Discussion (Misc queries) 2 July 28th 06 10:03 AM
Can I display the actual data in the data field of a pivot chart? Tom Pivot! Excel Discussion (Misc queries) 1 January 12th 06 05:10 PM
How do I count unique items in a pivottable data field. Jaywestern Excel Discussion (Misc queries) 2 December 29th 05 01:15 AM
Using a Pivot Table Calculated Field to get a Unique Count Mike Struckman Excel Worksheet Functions 1 November 22nd 05 05:32 PM


All times are GMT +1. The time now is 03:15 AM.

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"