+ Reply to Thread
Results 1 to 3 of 3

problem with multiple PivotTables on a PivotCache

  1. #1
    Registered User
    Join Date
    10-13-2008
    Location
    Mexico DF
    Posts
    2

    problem with multiple PivotTables on a PivotCache

    Hello there!!!! (Sorry about my bad english, it's not my native language)

    I need a little help for a Pivot Table's programming problem...

    i got a "Runtime Error '5'" when i want to create a second PivotTabel from a PivotCache Object (the same)... My code is this:

    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    ''''''''''''''OK, I NEED TO CREATE n PIVOT TABLES IN A SPECIAL SUB....
    Please Login or Register  to view this content.
    Everything goes well the first time that i make a PivotTable...
    But when i want to create a second PivotTable from the same PivotCache i got an error '5'...

    Please Login or Register  to view this content.

    Please help meee, i'm just a Begginerrrrrrrrrrrrr
    Last edited by VBA Noob; 10-14-2008 at 05:18 PM. Reason: i forgot the code tags

  2. #2
    Registered User
    Join Date
    10-13-2008
    Location
    Mexico DF
    Posts
    2
    I have found the solution of my problem...
    Please Login or Register  to view this content.

    I don't know why... the person who did this macro use the other function form....
    But the answer was to use the "ActiveSheet.[B7]" part.....

  3. #3
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    rick.hunter.007,

    Thanks for sharing the answer

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

+ 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. Replies: 0
    Last Post: 10-01-2008, 11:14 AM
  2. Multiple Pivot tables using single Pivotcache
    By doozer1979 in forum Excel General
    Replies: 1
    Last Post: 03-07-2008, 08:11 AM
  3. Multiple validation problem
    By SRussell in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-26-2008, 07:28 PM
  4. Sorting Data in Multiple Combo Boxes
    By ElsieC in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-18-2008, 10:26 AM
  5. Auto updating sheets
    By charmedcharmer in forum Excel General
    Replies: 1
    Last Post: 04-03-2007, 10:24 PM

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