+ Reply to Thread
Results 1 to 2 of 2

Invalid procedure call or argument error response while running macro to set up pivot

  1. #1
    Registered User
    Join Date
    01-14-2010
    Location
    Atlanta, GA
    MS-Off Ver
    Excel 2003
    Posts
    4

    Invalid procedure call or argument error response while running macro to set up pivot

    nn some help! (I am pretty new at understanding excel vba code)

    The workbook I'm working with has 5 tabs set up, Monday thru Friday. Each day, I copy and paste some data onto the appropriate sheet, then run a macro to set up a pivot table, which will in turn feed a chart.

    Today I had to catch up, and was able to run Monday & Tuesday just fine, but when it came to Wednesday, I got an error response:
    "invalid procedure call or argument".

    Below is the part of the code it is referring me to:

    Please Login or Register  to view this content.
    Thanks for all your help
    Last edited by cmcw70; 01-14-2010 at 12:45 PM.

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

    Re: Invalid procedure call or argument error response while running macro to set up p

    Assuming the table is to be in the same workbook, try removing the workbook name from the TableDestination argument and don't supply a table name (you might end up using the same name again).
    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)

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