+ Reply to Thread
Results 1 to 2 of 2

Error with pivot items in pivot table

  1. #1
    Registered User
    Join Date
    03-19-2013
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    27

    Error with pivot items in pivot table

    Let's say I have a Pivot Table that looks like this but it has over 50 rows:

    Letter Hours
    A 5
    C 10
    D 8

    In the table above the Letter B has a total of 0 hours so it is filtered out; therefore, it isn't displayed.

    I want to create a loop that displays the number of Hours for each Letter that is in the table. When it gets to Letter B, I get an error. What's the workaround?
    Here's my code:

    Please Login or Register  to view this content.
    Thanks!

  2. #2
    Registered User
    Join Date
    03-19-2013
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    27

    Re: Error with pivot items in pivot table

    For anyone looking for the solution, here ya go:

    Please Login or Register  to view this content.

+ 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. Filter pivot items using pivot items from another table
    By DKolev in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-16-2014, 08:49 PM
  2. Pivot Table select all Pivot Items not working as intended
    By rasonline in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-13-2014, 05:22 PM
  3. VBA To Expand Pivot Table and Copy Pivot Items
    By kidengineer in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-06-2013, 12:50 AM
  4. Filtering a Pivot Table according to 'Future' Pivot Items
    By Eraserhead in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-27-2012, 03:25 PM
  5. [SOLVED] Retrieving pivot items for pivot table value cells without using PivotCell
    By Casey in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-20-2006, 05:50 PM

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