+ Reply to Thread
Results 1 to 2 of 2

Capture Pivot table filter count

  1. #1
    whornak
    Guest

    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. #2
    Rowan Drummond
    Guest

    Re: 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 to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1