ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Charts and Charting in Excel (https://www.excelbanter.com/charts-charting-excel/)
-   -   Pivot Field Data count (https://www.excelbanter.com/charts-charting-excel/139448-pivot-field-data-count.html)

Mónica

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



Debra Dalgleish

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



All times are GMT +1. The time now is 07:34 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com