Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Capture Pivot table filter count

I am writing a procedure to perform some actions based on the change in the
amount of items selected via the pivot table filter selection change.

Is there a way to capture the total amount of items in that list whether or
not they are selected?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 414
Default Capture Pivot table filter count

Maybe:

Sub PvtItem()
Dim itm As Long
With ActiveSheet.PivotTables("PivotTable1").PivotFields ("The Code")
itm = .PivotItems.Count
Debug.Print itm
End With
End Sub


Hope this helps
Rowan

whornak wrote:
I am writing a procedure to perform some actions based on the change in the
amount of items selected via the pivot table filter selection change.

Is there a way to capture the total amount of items in that list whether or
not they are selected?

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 - Filter - no filter by value Andrew in Jax Excel Discussion (Misc queries) 0 September 18th 09 02:38 PM
pivot table filter scubadiver Excel Discussion (Misc queries) 1 October 9th 07 03:23 PM
Filter lines with Pivot table and non pivot table columns Grover Charts and Charting in Excel 4 September 28th 07 03:16 AM
Filter lines with Pivot table and non Pivot table columns Grover Excel Discussion (Misc queries) 1 September 26th 07 12:48 AM
Filter lines containing pivot table and non pivot table data Grover Excel Worksheet Functions 0 September 24th 07 07:20 PM


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