+ Reply to Thread
Results 1 to 7 of 7

Copy entire row and paste it to another sheet

  1. #1
    Forum Contributor
    Join Date
    02-09-2014
    Location
    Kamnik, Slovenia
    MS-Off Ver
    Excel 2010
    Posts
    693

    Copy entire row and paste it to another sheet

    I want to copy entire row based on cell value in column "F" and paste that whole row in another sheet - but paste in next blank row, starting from row 1:

    Please Login or Register  to view this content.
    Is that even possible in VBA or you must allways provide what row to paste ?
    Last edited by Lukael; 01-19-2017 at 09:01 AM.

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,475

    Re: Copy entire row and paste it to another sheet

    From the looks of the code, you want to if the target=1000 then copy the row to the first empty row in sheet("1000")

    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    02-09-2014
    Location
    Kamnik, Slovenia
    MS-Off Ver
    Excel 2010
    Posts
    693

    Re: Copy entire row and paste it to another sheet

    thanks Dave, exactly what I needed. It's been a while since I used VBA, I see that I forgot a lot

  4. #4
    Forum Contributor
    Join Date
    02-09-2014
    Location
    Kamnik, Slovenia
    MS-Off Ver
    Excel 2010
    Posts
    693

    Re: Copy entire row and paste it to another sheet

    I'm sorry Dave but I tested again any noticed that this ins't solving my issues. I forgot to mention that I can't do code like you provided. I need to check worksheet name first, and then copy It to empy row:
    Last edited by Lukael; 01-21-2017 at 10:00 AM.

  5. #5
    Forum Contributor
    Join Date
    02-09-2014
    Location
    Kamnik, Slovenia
    MS-Off Ver
    Excel 2010
    Posts
    693

    Re: Copy entire row and paste it to another sheet

    I'm sorry Dave but I tested again any noticed that this ins't solving my issues. I forgot to mention that I can't do code like you provided. I need to check worksheet name first, and then copy It to empy row:

    Please Login or Register  to view this content.
    This (a bit modified) code copies only one row. If I want to add another row, It just overwrites last one. How could I fix that ?

  6. #6
    Registered User
    Join Date
    01-17-2017
    Location
    usa
    MS-Off Ver
    2003
    Posts
    7

    Re: Copy entire row and paste it to another sheet

    I have previously made a template on this subject ,the row is copied to the sheet according to the value selected from the drop-down list in column H, and the row is deleted.

    The used codes :
    Please Login or Register  to view this content.
    Last edited by JBeaucaire; 02-28-2017 at 01:34 PM.

  7. #7
    Forum Contributor
    Join Date
    02-09-2014
    Location
    Kamnik, Slovenia
    MS-Off Ver
    Excel 2010
    Posts
    693

    Re: Copy entire row and paste it to another sheet

    I have previously made a template on this subject ,the row is copied to the sheet according to the value selected from the drop-down list in column H, and the row is deleted.
    Thanks for response excel_specialist, but I allready solved It. What I neded was something different than yours:

    Please Login or Register  to view this content.
    With this I basically do a copy/paste from one worksheet to another, in different ranges.

+ 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 paste entire row in another sheet having xyz name
    By watermasa in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 05-24-2015, 03:22 AM
  2. [SOLVED] VBA code to copy and paste an entire row from one sheet to another
    By emach in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 09-24-2013, 12:12 PM
  3. to copy paste the entire row to the new sheet
    By karanpreet in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 04-15-2013, 10:51 AM
  4. Help with Copy entire row and paste to new sheet
    By 20lgt06 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-07-2013, 09:24 AM
  5. Copy paste entire row different sheet column C
    By nahge123 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 06-15-2012, 02:16 PM
  6. If Y in column N, copy&paste entire row into new sheet
    By BSCIEddy in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-11-2011, 04:58 AM
  7. Copy Entire Row & Paste in First Empty Row On The Same Sheet
    By Emonk in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-23-2011, 11:41 AM

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