+ Reply to Thread
Results 1 to 2 of 2

How to filter a pivot table in vba (Dynamic)

  1. #1
    Registered User
    Join Date
    07-01-2015
    Location
    Singapore
    MS-Off Ver
    2013
    Posts
    66

    Exclamation How to filter a pivot table in vba (Dynamic)

    Basically , I have created a pivot table in a new worksheet .
    But I dont have any idea to create a data filter of the pivot table in vba code ?

    I want to filter all data with the value(Count of Last Name) = 1

    Based on macro recorder for fitler data:
    Please Login or Register  to view this content.
    Here's my code for Create Pivot Table:
    Please Login or Register  to view this content.

    Attachment 407580

    This what will happens , after filtering the data to be "1"
    Then , I would like to make the "Row Labels" or "Name" to be same
    regardless if the name has spacing or capital letters. Just want to make it the same. How do i do this too ?

    Please help
    Last edited by fluffyvampirekitten; 07-16-2015 at 05:26 AM.

  2. #2
    Registered User
    Join Date
    07-01-2015
    Location
    Singapore
    MS-Off Ver
    2013
    Posts
    66

    Exclamation Re: How to filter a pivot table in vba (Dynamic)

    Capture.JPG

    This what will happens , after filtering the data to be "1"
    Then , I would like to make the "Row Labels" or "Name" to be same
    regardless if the name has spacing or capital letters. Just want to make it the same. How do i do this too ?

    Please help

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Pivot table dynamic range too large, unable to filter dates.
    By Si902 in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 04-22-2015, 03:28 AM
  2. Dynamic filter on pivot table?
    By Cleland in forum Excel General
    Replies: 0
    Last Post: 10-23-2014, 07:50 AM
  3. Replies: 6
    Last Post: 07-31-2014, 12:56 PM
  4. Replies: 1
    Last Post: 02-07-2014, 03:12 AM
  5. Replies: 1
    Last Post: 02-07-2014, 03:04 AM
  6. Pivot table, assigning a cell wo be change the Pivot table filter
    By jwongsf in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-28-2012, 05:00 PM
  7. Change Pivot table Filter Based on Cell Value *Multiple Filter items* Possible?
    By Flydd in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-27-2012, 06:57 AM

Tags for this Thread

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