+ Reply to Thread
Results 1 to 1 of 1

Invalid Procedure Call or Argument when Creating a Pivot Table

  1. #1
    Registered User
    Join Date
    09-29-2008
    Location
    england
    Posts
    40

    Invalid Procedure Call or Argument when Creating a Pivot Table

    Hi,

    I am trying to create a pivot based on a varying size of data (rows and columns). Below I have the code, when I step through the code it errors once I get to the Set PTCache line. It' probably something obvious but I can't see it!

    (xlws6 is set earlier in the code) - this works. The FinalRow and Final Col both produce the correct numbers. Xlws10 is also set previous to this section.

    Please Login or Register  to view this content.
    Last edited by nickymac; 05-02-2014 at 05:05 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. Invalid Procedure Call or Argument?
    By aloha31 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-19-2013, 08:24 PM
  2. Invalid procedure call or argument
    By krish T in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-31-2010, 10:01 AM
  3. Replies: 1
    Last Post: 01-14-2010, 12:52 PM
  4. "Invalid procedure call or argument" error when creating Pivot table
    By Kaigi in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-31-2009, 06:02 AM
  5. Invalid Procedure call or argument
    By T De Villiers in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-25-2006, 10:05 AM

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