+ Reply to Thread
Results 1 to 7 of 7

Excel Macro to Repeat Paste Between Sheets

  1. #1
    Registered User
    Join Date
    06-27-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2016
    Posts
    37

    Excel Macro to Repeat Paste Between Sheets

    Hi There,

    Hope someone can help.

    I have 2 sheets of date. Sheet 1 contains a temple range A3:T162. This set of data is repeated x number of times. Sheet 2 contains a range of data A1:A3 repeated x number of rows. The data is different on each row. So if I have 10 rows of data in Sheet 2 , there will be ready in Sheet 1 10 sets of dats, as in range A3:T162.

    I would like the following action:
    the contents of Sheet 2 Row 1 to be pasted into Sheet 1 cell A3,B3,C3
    then contents of Sheet 2 Row 2 pasted into A163,B163,C163,
    then contents of Sheet 2 Row 3 pasted into A323,B323,C323,

    So basically each consecutive row on Sheet of column A,B,C is pasted back onto Sheet 1, 160 rows below until all contents of Sheet 2 has been exhausted.

    I have attached an excel sheet with the relevant data.

    Please let me know if you require any further information.
    Attached Files Attached Files

  2. #2
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,648

    Re: Excel Macro to Repeat Paste Between Sheets

    Try this code to see if this works as per your requirement.
    Please Login or Register  to view this content.
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  3. #3
    Forum Contributor
    Join Date
    04-24-2012
    Location
    Karlstad, Sweden
    MS-Off Ver
    Excel 2016
    Posts
    232

    Re: Excel Macro to Repeat Paste Between Sheets

    Try this code:
    Attached Files Attached Files
    1. Reply to thread and inform if suggestion was helpful or not
    2. Click on the star (=Add Reputation) if you think someone helped you
    3. Mark [SOLVED] to this thread if solution was found. (On Menu "Thread Tools" > "Mark this thread as solved")

  4. #4
    Registered User
    Join Date
    06-27-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2016
    Posts
    37

    Re: Excel Macro to Repeat Paste Between Sheets

    This works perfectly, thank you so much.

  5. #5
    Registered User
    Join Date
    06-27-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2016
    Posts
    37

    Re: Excel Macro to Repeat Paste Between Sheets

    Thank you for your reply. I have tried it but it says Macros are disabled even though they aren't. Thank you anyway, the first reply works fine.

  6. #6
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,648

    Re: Excel Macro to Repeat Paste Between Sheets

    Glad to help you. Thanks for the feedback.
    Since you are new to forum so just to tell you that if that takes care of your question, please mark your thread as solved by selecting Thread Tools (just above your first post) --> Mark thread as solved.
    Moreover you may also click on * (star) to Add Reputation to those who have put their time and efforts to help you in this forum. This is another way to say thanks to them.

  7. #7
    Registered User
    Join Date
    06-27-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2016
    Posts
    37

    Re: Excel Macro to Repeat Paste Between Sheets

    All done, i am sure I have left feedback ratings too, please let me know if I have missed anything.

+ 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. Repeat Macro for multiple Sheets - Next without For
    By MelForsyth in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-14-2013, 03:57 AM
  2. [SOLVED] Macro to Find - Copy - Paste - Repeat
    By arf49 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-18-2012, 11:07 AM
  3. Macro for List Cut - Paste and Repeat
    By Water Doc in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 04-16-2009, 05:37 PM
  4. loop/repeat copy/paste Macro
    By vizbasic in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-20-2008, 10:19 AM
  5. Replies: 1
    Last Post: 09-16-2005, 12: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