+ Reply to Thread
Results 1 to 3 of 3

VBA COPY and PASTE BODY RANGES By MONTH(last column)

  1. #1
    Registered User
    Join Date
    08-16-2020
    Location
    USA
    MS-Off Ver
    2016
    Posts
    22

    VBA COPY and PASTE BODY RANGES By MONTH(last column)

    Hi All,

    Please see the attached dummy file. I have a "Pivot table" Sheet tab and a "destination" sheet tab. I want to copy paste special value the body ranges from each pivot table according to the months to choose the last column from the "pivot table" sheet tab and copy "destination" sheet tab. Also, since this is a monthly data, every month a new month will be added, so in the code need all pivot tables to be refreshed as well when new data comes in with a command button.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-29-2020
    Location
    NH USA
    MS-Off Ver
    365
    Posts
    2,103

    Re: VBA COPY and PASTE BODY RANGES By MONTH(last column)

    It looks like the pivot tables give you the breakdown you are looking for. What is your request?

  3. #3
    Registered User
    Join Date
    08-16-2020
    Location
    USA
    MS-Off Ver
    2016
    Posts
    22

    Re: VBA COPY and PASTE BODY RANGES By MONTH(last column)

    Hi Maniacb,

    Thank you for replying back! Cant appreciate enough. Please see the attached file. So basically,
    I want to copy the "pivottable" sheet tab body ranges in pivot table to the "destination" tab. I want it to automatically copy and paste it
    special value with months being added every month so to chosse the last column. The format on the destination tab will be exactly the same as
    my real data and pivot tables as well. Also want it refresh each time.

+ 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. copy multiple ranges, find next empty cell in first column and paste values as text
    By Zlatko.Pan in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 03-18-2018, 06:13 PM
  2. Replies: 1
    Last Post: 09-10-2015, 07:39 AM
  3. [SOLVED] Copy and paste ranges of cells based on values in column A
    By ajk1789 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-12-2014, 02:04 AM
  4. Copy and Paste Union of Ranges/Rows to Outlook Email Body
    By darkhunter in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-10-2012, 01:52 PM
  5. Copy / Paste multiple loop results in specific column ranges on one worksheet
    By bfbisso in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-24-2012, 01:11 PM
  6. Macro to copy and paste variable ranges according to values in a column
    By abinayan in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-21-2011, 11:11 AM
  7. Macro-Copy&Paste Fixed Data Ranges Into Last Empty Cell of Specific Column
    By hailnorm in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-26-2009, 10:15 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