+ Reply to Thread
Results 1 to 1 of 1

Intermittent Pivot Table Errors - Run-time error 1004; Unable to get the PivotFields prop.

  1. #1
    Registered User
    Join Date
    04-28-2004
    Posts
    49

    Intermittent Pivot Table Errors - Run-time error 1004; Unable to get the PivotFields prop.

    Hi Team,

    I am experiencing a weird error with my pivot table driven workbook.

    I have a workbook that has about 10 or so pivot tables. I have vba code that keys off changes to a cell validation drop down field. In the drop-down field are employee names that change the filters on all the pivot tables to deliver some data.

    All these pivottables are copies of the original so i believe they share the same data set in terms of memory.

    There is an issue that creeps in occassionally. When i try to change the employee name at times it works fine, all the pivotable filters get updated with the new name and the data is shown as it should.

    However, occassionally i get an error. The error i get at first is

    Run-time error 1004; Unable to get the PivotFields property of the PivotTable class

    This error is shown on this line below:
    Please Login or Register  to view this content.
    If I comment this line out and run it again, the next error is:
    Run-time error 1004; Unable to get the Text property of the Range class

    This error is shown on this line below:
    Please Login or Register  to view this content.
    I have also noticed that once these errors are thrown, i lose the cell highlight box and cursor. If i click on a cell, i see the contents in the formula bar, but i the cell does not get "selected" by the highlight box, or at least it is not visible. This is what leads me to believe some memory issues happen once the error is thrown. Like the workbook is blown up...

    Full Code Below

    Please Login or Register  to view this content.
    Last edited by bg18461; 08-05-2014 at 11:44 AM.

+ 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. Run-time error '1004' & '5' while refreshing PivotFields.
    By silroy27 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 05-16-2014, 05:55 AM
  2. Run-time error '1004': Unable to get the PivotFields property of the PivotTable class
    By jaimeteele in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-13-2013, 05:43 PM
  3. Replies: 0
    Last Post: 11-01-2012, 10:44 PM
  4. Run time error 1004: unable to get the pivot table property of the worksheet.
    By svmt in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-29-2012, 02:46 AM
  5. run-time error 1004 unable to get the pivotfields property of the pivot table class
    By arunsoni in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-23-2011, 02:06 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