+ Reply to Thread
Results 1 to 4 of 4

Couldn't Create Pivot Cache in another workbook.

  1. #1
    Forum Contributor
    Join Date
    01-06-2017
    Location
    india
    MS-Off Ver
    2010
    Posts
    118

    Couldn't Create Pivot Cache in another workbook.

    Hi,


    I wrote a Pivot code in "ABC" workbook. By using code I want to open another existing Workbook say "XYZ" and create Pivot based on the data in "XYZ" file. While I running the code it showing at Pivot cache code as "Run-Time error '424': Object Required".

    Please go through the code which is copied in the text file.

    Thank you in advance.

    regards
    shiva
    Attached Files Attached Files
    Last edited by shiva_raj; 12-17-2018 at 02:49 AM.

  2. #2
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,257

    Re: Couldn't Create Pivot Cache in another workbook.

    Which specific line causes the error, and why are you trying to create two pivot tables in the same place?
    Remember what the dormouse said
    Feed your head

  3. #3
    Forum Contributor
    Join Date
    01-06-2017
    Location
    india
    MS-Off Ver
    2010
    Posts
    118

    Re: Couldn't Create Pivot Cache in another workbook.

    Thank you for reply.

    I changed the code little bit. i wrote the code in "ABC" file. I created pivot based on data which is in other workbook say "XYZ". At this time error occur at xlDatafield
    Please Login or Register  to view this content.

    regards
    shiva

  4. #4
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,257

    Re: Couldn't Create Pivot Cache in another workbook.

    What is the error?

+ 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. [SOLVED] Macro to determine if Pivot Table Cache Index is used elsewhere in Workbook
    By Brawnystaff in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-24-2017, 09:34 AM
  2. VBA to create an Pivot table using an existing Cache
    By ola7mat in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-24-2016, 10:26 AM
  3. [SOLVED] Macro to update pivot tables and use the SAME cache instead of repeatedly recreating cache
    By Fowzee1 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-22-2015, 11:26 PM
  4. Unable to clear pivot cache without reopening the workbook
    By hcyeap in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-21-2015, 05:45 AM
  5. Macro to create common cache for groups of pivot tables
    By robhumbug in forum Excel General
    Replies: 0
    Last Post: 12-21-2010, 07:15 PM
  6. Create multiple pivot tables from pivot cache
    By dpatel in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-09-2010, 12:24 PM
  7. Create the Pivot cache and pivot macro
    By krishna.chvg in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-31-2010, 10:03 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