+ Reply to Thread
Results 1 to 2 of 2

Runt time error when creating pivot table

  1. #1
    Registered User
    Join Date
    05-16-2012
    Location
    Atlanta, GA
    MS-Off Ver
    Excel 2007
    Posts
    63

    Runt time error when creating pivot table

    When executing the code below I am receiving a Run-time error 5: Invalid procedure call or argument.

    It worked correctly when the parts that are now commented out were active.
    It is the first piece of code in the macro.

    The code is supposed to create a new sheet, name if FUTA MAX regardless of how many sheets are in the workbook, create a pivot table on FUTA MAX sheet using a named RANGE, and name the pivot table FUTA_MAX_PT.

    Please Login or Register  to view this content.
    Thanks,

    Craig

  2. #2
    Registered User
    Join Date
    05-16-2012
    Location
    Atlanta, GA
    MS-Off Ver
    Excel 2007
    Posts
    63

    Re: Runt time error when creating pivot table

    I fixed it

    Please Login or Register  to view this content.

+ 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