+ Reply to Thread
Results 1 to 3 of 3

Selecting a few of many pivotitems

  1. #1
    Valued Forum Contributor
    Join Date
    12-02-2009
    Location
    Austin, Tx
    MS-Off Ver
    Office 365 64-Bit, 2108, build 14326.21018
    Posts
    4,046

    Selecting a few of many pivotitems

    Not sure why I can't get this to work. I'm getting an "Object doesnt support this property or method" on the line in red below. What I'm trying to do is, with a PivotField of hundreds of items, display only these five. Any help would be greatly appreciated. I've been fooling with this for over an hour now, and I'm just not getting it.
    Please Login or Register  to view this content.

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2411
    Posts
    26,438

    Re: Selecting a few of many pivotitems

    That line of code is already in the scope of a With for .PivotFields("ACCOUNT"). Change the line to

    Please Login or Register  to view this content.
    Jeff
    | | |·| |·| |·| |·| | |:| | |·| |·|
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Valued Forum Contributor Parth007's Avatar
    Join Date
    12-01-2014
    Location
    Banglore
    MS-Off Ver
    2010
    Posts
    879

    Re: Selecting a few of many pivotitems

    Hello Jefff,

    You are correct.. i too just figured it out abt not mentioning
    Please Login or Register  to view this content.
    Worked properly
    Last edited by Parth007; 07-22-2015 at 10:49 AM.
    Regards
    Parth

    I appreciate your feedback. Hit * if u Like.
    Rules - http://www.excelforum.com/forum-rule...rum-rules.html

+ 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. sort pivotitems
    By o_rent in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-12-2015, 07:01 PM
  2. PivotItems : Selecting specific items after a ClearAllFilters method
    By amphinomos in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-05-2013, 09:06 AM
  3. VBA to remove PivotItems
    By LB79 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-24-2013, 10:34 AM
  4. .pivotitems().visible with UDF
    By apistilli in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-24-2012, 03:09 PM
  5. Selecting PivotItems from another sheet
    By jomili in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-17-2011, 12:17 PM
  6. set pivotitems visible
    By hiddy in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-29-2010, 06:34 AM
  7. Selecting PivotItems in a PivotTable
    By undergraduate in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-28-2010, 09:32 PM

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