+ Reply to Thread
Results 1 to 13 of 13

paste rows between 2 sheets

  1. #1
    Forum Contributor max_max's Avatar
    Join Date
    06-28-2013
    Location
    italy - venice
    MS-Off Ver
    Excel 2007
    Posts
    1,693

    paste rows between 2 sheets

    Hi everyone.
    I hope to explain myself.
    In sheet1 there are a series of rows that must be pasted in sheet2.
    We must copy:
    rows 1/2 of sheet1 in row 1 of sheet2
    rows 3/4 of sheet1 in row 2 of sheet2
    rows 5/6 of the sheet1 in line 3 of the sheet2
    rows 7/8 of sheet 1 in row 4 of sheet2
    etc ... up to line 1001/1002
    I attach an example
    Thanks in advance.
    max
    Attached Files Attached Files
    Last edited by max_max; 12-18-2018 at 02:40 PM.

  2. #2
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: paste rows between 2 sheets

    Try this and let me know:

    Please Login or Register  to view this content.
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  3. #3
    Forum Contributor max_max's Avatar
    Join Date
    06-28-2013
    Location
    italy - venice
    MS-Off Ver
    Excel 2007
    Posts
    1,693

    Re: paste rows between 2 sheets

    Hi xladept is not exact.
    must paste the rows 1/2 in a single row
    Last edited by max_max; 12-18-2018 at 03:53 PM.

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: paste rows between 2 sheets

    And how would E3:E4 on sheet1 for instance appear in E3 on sheet2.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  5. #5
    Forum Contributor max_max's Avatar
    Join Date
    06-28-2013
    Location
    italy - venice
    MS-Off Ver
    Excel 2007
    Posts
    1,693

    Re: paste rows between 2 sheets

    It is always possible to merge row 2/3 in one row in sheet2

  6. #6
    Forum Contributor max_max's Avatar
    Join Date
    06-28-2013
    Location
    italy - venice
    MS-Off Ver
    Excel 2007
    Posts
    1,693

    Re: paste rows between 2 sheets

    In the new example attached in sheet 2, there is an example.
    Now the row / cell union is given by =Foglio1!A3&" "&Foglio1!A4 (=Sheet1!A3&" " &Sheet1!A4)
    Attached Files Attached Files
    Last edited by max_max; 12-18-2018 at 04:15 PM.

  7. #7
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: paste rows between 2 sheets


  8. #8
    Forum Contributor max_max's Avatar
    Join Date
    06-28-2013
    Location
    italy - venice
    MS-Off Ver
    Excel 2007
    Posts
    1,693

    Re: paste rows between 2 sheets

    Hi I attach example.
    Merge row 1/2 sheet1 in row 1 sheet2
    max
    Attached Files Attached Files

  9. #9
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: paste rows between 2 sheets

    Maybe:

    Please Login or Register  to view this content.
    Last edited by xladept; 12-19-2018 at 03:10 PM.

  10. #10
    Forum Contributor max_max's Avatar
    Join Date
    06-28-2013
    Location
    italy - venice
    MS-Off Ver
    Excel 2007
    Posts
    1,693

    Re: paste rows between 2 sheets

    Hi xladept the macro work.
    An error in cell = #NAME?
    For n = 1 To UBound(P, 2): Q(s, n) = P(r, n) & vbCrLf & P(r + 1, n):
    Attached Files Attached Files

  11. #11
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: paste rows between 2 sheets

    Hi max_max,

    Your data is in error - try this:

    Please Login or Register  to view this content.

  12. #12
    Forum Contributor max_max's Avatar
    Join Date
    06-28-2013
    Location
    italy - venice
    MS-Off Ver
    Excel 2007
    Posts
    1,693

    Re: paste rows between 2 sheets

    Hi xladept now it's o.k, thanks you
    A greting
    max

  13. #13
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: paste rows between 2 sheets

    You're welcome!

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

    And, thanks for the rep!
    Last edited by xladept; 12-20-2018 at 02:25 PM.

+ 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] How to Copy Rows from two Sheets and Paste it in 3rd Sheet One Bellow
    By MoldyBread in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-13-2018, 10:45 AM
  2. Copy rows from multiple sheets paste to new sheet
    By cindywylie in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 12-14-2017, 04:06 PM
  3. Conditional Cut/Paste of Rows between two sheets
    By GiovanniCortese in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-20-2015, 02:17 PM
  4. [SOLVED] Looping Macro to cut rows based on value and paste them into new sheets
    By Ethanrholt in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-17-2014, 08:59 AM
  5. [SOLVED] Copy, paste and insert new rows into new sheets
    By nanas in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-10-2012, 10:35 PM
  6. Copy/Paste Rows to Other Sheets, multiple conditions
    By financeguy57 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-17-2011, 01:39 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