+ Reply to Thread
Results 1 to 4 of 4

data from getpivotdata in specific worksheet or in the multi-dimension array

  1. #1
    Forum Contributor
    Join Date
    05-13-2019
    Location
    Halifax, Canada
    MS-Off Ver
    2016
    Posts
    176

    data from getpivotdata in specific worksheet or in the multi-dimension array

    Hi gurus and experts,

    Is there a way to save getpivotdata in a specific worksheet instead of a new worksheet? For instance, when the following code is run, the data saves in a new worksheet.

    Please Login or Register  to view this content.
    Also can we save the data (from Range(d).ShowDetail = True) in the array instead of saving in the worksheet?

    I have attached the template file for your needful. Your advices are much appreciated.

    Thank you
    Roshan
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor Eastw00d's Avatar
    Join Date
    02-29-2020
    Location
    Breda, NL
    MS-Off Ver
    2016, 2019
    Posts
    833

    Re: data from getpivotdata in specific worksheet or in the multi-dimension array

    Hi Roshan,
    a little late reaction, but you could "catch" the range in an array like this:
    Please Login or Register  to view this content.
    Cheers
    Erwin
    Last edited by Eastw00d; 02-20-2021 at 04:14 AM. Reason: additional info
    I started learning VBA because I was lazy ...
    Still developing.... being more lazy...

  3. #3
    Forum Contributor
    Join Date
    05-13-2019
    Location
    Halifax, Canada
    MS-Off Ver
    2016
    Posts
    176

    Re: data from getpivotdata in specific worksheet or in the multi-dimension array

    Thanks Erwin.

  4. #4
    Valued Forum Contributor Eastw00d's Avatar
    Join Date
    02-29-2020
    Location
    Breda, NL
    MS-Off Ver
    2016, 2019
    Posts
    833

    Re: data from getpivotdata in specific worksheet or in the multi-dimension array

    Thank you for the feedback and the rep.points.
    Have a blessed day!
    Erwin

+ 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. Assigning non-uniform arrays to multi dimension array
    By roldy in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 12-20-2018, 04:15 PM
  2. refer part of a multi dimension array
    By aprildu in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 04-24-2017, 10:14 PM
  3. Assign Data Type to Array Dimension
    By JYTS in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-23-2016, 06:15 PM
  4. Can i add another dimension to my variant array and store additional data?
    By welchs101 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-20-2012, 12:29 PM
  5. vlookup usage with dynamic & multi dimension arrays
    By pjjclark in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-26-2007, 04:02 AM
  6. Consolidate data in an 2-dimension array in VBA
    By Huyeote in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-18-2005, 03:05 AM
  7. Mutli-dimensional Array to Single-Dimension Array
    By Blue Aardvark in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-15-2005, 05:05 AM

Tags for this Thread

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