+ Reply to Thread
Results 1 to 3 of 3

Excel 2007 pivot table/macro/Runtime error 1004

  1. #1
    Registered User
    Join Date
    06-03-2009
    Location
    Galway, Ireland
    MS-Off Ver
    Excel 2007
    Posts
    11

    Excel 2007 pivot table/macro/Runtime error 1004

    Hi
    I have created a macro that works sporadically. Here is the code below. When I try to run it I get

    Please Login or Register  to view this content.
    This is the actual code of the macro. The debugger points to the last line of it.

    Please Login or Register  to view this content.
    Last edited by abalserv; 06-01-2010 at 04:46 AM. Reason: Want to check that it's easy to read...

  2. #2
    Forum Expert Bob Phillips's Avatar
    Join Date
    09-03-2005
    Location
    Wessex
    MS-Off Ver
    Office 2003, 2010, 2013, 2016, 365
    Posts
    3,284

    Re: Excel 2007 pivot table/macro/Runtime error 1004

    I would guess that the wrong sheet is active, but can you post your workbook for us to check it?

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

    Re: Excel 2007 pivot table/macro/Runtime error 1004

    Is cell S20000 actually part of your pivot table?
    Remember what the dormouse said
    Feed your head

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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