+ Reply to Thread
Results 1 to 7 of 7

Copy Data From Previous Sheet to Next Sheet

  1. #1
    Forum Contributor
    Join Date
    11-30-2020
    Location
    Ny
    MS-Off Ver
    Office 365
    Posts
    173

    Copy Data From Previous Sheet to Next Sheet

    I've created a simple workbook to explain what i would like to do. I would like a macro that copies data from sheet1 to sheet2, then the same macro to copy data from sheet2 to sheet3. Not all sheets at once just call the macro from the active sheet to reference the previous sheet. For example, copy the data from sheet1 E6:F7 to sheet2 E22, sheet1E8:F9 to sheet2 E23 and so on. I have been trying to figure this out and just can't seem to get it right, any help would be appreciated! Thanks!
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    10-12-2021
    Location
    CT
    MS-Off Ver
    365
    Posts
    462

    Re: Copy Data From Previous Sheet to Next Sheet

    Excel has an option to right-click a sheet and create a copy of it... I know that's not a macro, but it's by far the easiest way to copy a sheet.

  3. #3
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,810

    Re: Copy Data From Previous Sheet to Next Sheet

    Your sheet contains merged cells. You should avoid merging cells because they almost always cause problems for macros. You could simply widen a column and/or row if you need more space or do a little research into "CenterAcrossSelection". This has the same effect as merging horizontally without actually merging any cells. Unmerge all the merged cells and after you have done this, post an updated copy of the file.
    You can say "THANK YOU" for help received by clicking the Star symbol at the bottom left of the helper's post.
    Practice makes perfect. I'm very far from perfect so I'm still practising.

  4. #4
    Forum Contributor
    Join Date
    11-30-2020
    Location
    Ny
    MS-Off Ver
    Office 365
    Posts
    173

    Re: Copy Data From Previous Sheet to Next Sheet

    Here is an updated file, I would like to call a macro from sheet2 to copy F5:F10 from sheet1 to F14:F19 on sheet2. Then use the same macro only calling it from sheet3 to do the same thing copying the values from sheet2 to sheet 3. Basically, calling the same macro but copying the data from the sheet to the left of the currently open sheet.
    Attached Files Attached Files

  5. #5
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,810

    Re: Copy Data From Previous Sheet to Next Sheet

    Try the attached file. Please note that you still had merged cells. I unmerged them. Just click the button on Sheet 2 or Sheet 3.
    Attached Files Attached Files

  6. #6
    Forum Contributor
    Join Date
    11-30-2020
    Location
    Ny
    MS-Off Ver
    Office 365
    Posts
    173

    Re: Copy Data From Previous Sheet to Next Sheet

    Thanks so much that works like a dream!! Sorry about those merged cells in the last update, I should know better than try to do something like this on the weekend with ALL THE INTERUPTIONS I get from the grandkids! I learned a lot from what you did for me Thanks again!

  7. #7
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,810

    Re: Copy Data From Previous Sheet to Next Sheet

    You are very welcome.

+ 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] Copy the rows matching a criteria to another sheet without overwritting previous data.
    By thorblow in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 02-02-2022, 08:53 AM
  2. Replies: 8
    Last Post: 03-27-2020, 11:39 AM
  3. [SOLVED] Copy Data from Columns, paste on new sheet at end of previous Data
    By snuffnchess in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-30-2019, 11:26 AM
  4. Replies: 2
    Last Post: 01-23-2016, 01:16 PM
  5. Autofilter, copy from sheet 1 and paste to sheet2, delete previous info on sheet 2
    By leigh12483 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-30-2015, 08:21 PM
  6. Copy Cell Range From Previous Sheet and Paste to Active Sheet
    By jtal in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-01-2013, 03:26 PM
  7. Copy Data from Next sheet to the previous sheet and so on
    By Testify in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-22-2012, 05:04 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