+ Reply to Thread
Results 1 to 3 of 3

Dynamic copy/paste between Worksheets

  1. #1
    Registered User
    Join Date
    01-28-2019
    Location
    Norway
    MS-Off Ver
    2016
    Posts
    1

    Dynamic copy/paste between Worksheets

    Hi

    I have an issue that I was wondering if someone could help me, or point me in a direction of what functions I can search for.

    The case:
    In Worksheet1 I have a table of materials. The columns goes from A to H, and the rows from 1 to infinity. In column K I have a number.
    If the number i column K is greater than 0, I want the row from A to H to copy and paste i Worksheet2. So if I pick row 1, 3 and 9 from Worksheet1, I want them to paste into row 1, 2 and 3 in Worksheet2.

    Heres an spesific example:
    If K3 in Worksheet1 is greater than 0. I want C3:I3 to be copied to C3:I3 in Worksheet2.
    If K9 in Worksheet1 is greather than 0, I want C9:I9 in Worksheet1 to be copied to the next free row in Worksheet2. In this case, C4:I4.

    If something was unclear, please ask.

    Regards
    Glenn
    Last edited by Gl1; 01-28-2019 at 03:29 PM.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,462

    Re: Dynamic copy/paste between Worksheets

    One way

    Please Login or Register  to view this content.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,462

    Re: Dynamic copy/paste between Worksheets

    Or, if you want to run more than once without overwriting ...

    Please Login or Register  to view this content.

+ 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. Dynamic copy and paste
    By michud08 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-08-2017, 01:36 PM
  2. [SOLVED] Dynamic Copy and Paste
    By ScabbyDog in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-13-2014, 05:27 PM
  3. Copy/Paste Range of Data from Multiple Workbooks/Worksheets to Master Workbook/Worksheets
    By NumberCruncher311 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-19-2013, 08:21 PM
  4. Dynamic Copy & Paste
    By Murrayk in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-30-2013, 01:57 AM
  5. Copy and paste data in different worksheets of workbookA to diff worksheets in workbookB
    By preciousmetal2004 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-24-2012, 05:50 PM
  6. Copy Paste Values all worksheets & creating new worksheets
    By ryan2600 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-05-2012, 11:46 AM
  7. Copy and paste dynamic range from two worksheets into one
    By wpryan in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-04-2010, 11:35 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