+ Reply to Thread
Results 1 to 4 of 4

set pivotitems visible

  1. #1
    Registered User
    Join Date
    08-31-2010
    Location
    Vienna,Austria
    MS-Off Ver
    Excel 2007
    Posts
    6

    set pivotitems visible

    hey all

    i have a question concerning a pivottable. I wrote a makro to set the pivotitems visible. the problem is that i get an error if i try to set the very last item visible.

    Please Login or Register  to view this content.
    for example the values in the field NUM are from 1 to 100 and i want to set the items B6=90 to B7=100 visible. If the loop get's to the very last item(100) there is an error! (i have another loop to set the other items invisible, which works).

    The strange thing is that error only occurs with the very last item, if i set for example 50 to 90 visible there's no problem!

    can anybody help me?

    thx

  2. #2
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: set pivotitems visible

    What is the actual error message?

    Note: there is no need for the line that sets the Currentpage to be inside your loop.
    Remember what the dormouse said
    Feed your head

  3. #3
    Registered User
    Join Date
    08-31-2010
    Location
    Vienna,Austria
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: set pivotitems visible

    thx i solved it on my own!!

  4. #4
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: set pivotitems visible

    Then please let us know what the issue was and mark the thread solved.
    Thanks.

+ 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