+ Reply to Thread
Results 1 to 2 of 2

Creating new Pivot table with dynamic sheet names/ranges

  1. #1
    Registered User
    Join Date
    08-08-2012
    Location
    Tampa, FL
    MS-Off Ver
    Excel 2003
    Posts
    4

    Creating new Pivot table with dynamic sheet names/ranges

    I'm trying to create a pivot table on a new sheet with dynamic sheet names/ranges and I keep getting error "Invalid procedure call or argument" error. My code is below:


    Please Login or Register  to view this content.
    Just for comparison sake, code when copied straight from the from macro:

    Please Login or Register  to view this content.
    All I've done is replace the static ranges with dynamic ones. Why isn't this working? Any help is appreciated!
    Last edited by KeriM; 05-07-2013 at 04:30 PM.

  2. #2
    Registered User
    Join Date
    08-08-2012
    Location
    Tampa, FL
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Creating new Pivot table with dynamic sheet names/ranges

    I've solved my own problem...Apparently I need to use R1C1 format when defining the table destination range. Once I changed it, it create the pivot table no problem.

+ 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