+ Reply to Thread
Results 1 to 5 of 5

Error on PivotItems.Visible = False with dates

  1. #1
    Forum Contributor
    Join Date
    06-15-2011
    Location
    Chester, England
    MS-Off Ver
    Excel 2013
    Posts
    117

    Error on PivotItems.Visible = False with dates

    I have two pivot tables, both with the below excerpt:

    Please Login or Register  to view this content.
    The code works fine on one, but errors on the other when the count reaches the last value. The fields are dates on both, which has posed a few challenges already, but I can't see the difference between the two that is causing the error.

    Thanks in advance for any suggestions.

  2. #2
    Forum Contributor
    Join Date
    06-15-2011
    Location
    Chester, England
    MS-Off Ver
    Excel 2013
    Posts
    117

    Re: Error on PivotItems.Visible = False with dates

    For clarification, more code:

    Please Login or Register  to view this content.
    I get the error 'Unable to set the Visible property of the PivotItem class' as indicated in the above code.

  3. #3
    Forum Contributor
    Join Date
    06-15-2011
    Location
    Chester, England
    MS-Off Ver
    Excel 2013
    Posts
    117

    Re: Error on PivotItems.Visible = False with dates

    Bump - can anyone help?

  4. #4
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Error on PivotItems.Visible = False with dates

    Can you upload an example workbook?

    Click on GO ADVANCED and use the paperclip icon to open the upload window.
    If posting code please use code tags, see here.

  5. #5
    Forum Contributor
    Join Date
    06-15-2011
    Location
    Chester, England
    MS-Off Ver
    Excel 2013
    Posts
    117

    Re: Error on PivotItems.Visible = False with dates

    Much appreciated, Norie.
    Attached Files Attached Files

+ 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