+ Reply to Thread
Results 1 to 2 of 2

Copy & Paste Rows Using VBA

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    09-14-2016
    Location
    Fareham UK
    MS-Off Ver
    2010
    Posts
    110

    Copy & Paste Rows Using VBA

    Hi Guys, I hope you are all having a great Friday

    i was just wondering if anyone could help me. I currently have an order form set up B7:D69 with with the following columns B) Product Description C) Item Code D) Quantity. What I was wondering if anyone knows of some code that would only copy and paste the rows that had values in all 3 on to sheet 1 and then if you were to change the product would copy and paste the next "order" on to the line below the previous request? so you would end up with a sheet of multiple products with qtys

    any help would be greatly appreciated

    Jamie
    Attached Files Attached Files
    Last edited by bloodmilksky; 11-04-2016 at 09:12 AM. Reason: refrences are incorrect

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,957

    Re: Copy & Paste Rows Using VBA

    I can see the "before" and it looks like none of them have all three columns filled. I get the idea of copying a line if it has information in Columns B, C and D. What I'm not getting is the "if you were to change the product" part. Perhaps a walk-through of an example or two to present the "after" would help.
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

+ 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 Formulas and Paste into the Last Set # of Rows Only & Paste Values
    By Mr. Ice in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-23-2014, 07:48 AM
  2. [SOLVED] Identify duplicate rows and copy/Paste the first cell to all cells of equal rows
    By vs5 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 04-15-2014, 06:31 AM
  3. Macro to copy rows based on moving date and paste the rows into an identical sheet
    By ivandc1234 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-28-2014, 11:59 AM
  4. Copy cell values (not formulas) from a pair of rows then paste in a new set of rows
    By pelle3988 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-23-2013, 02:49 PM
  5. Copy/Paste range of data excluding certain rows and copy to another workbook
    By HoerbigAdm in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-12-2012, 02:51 PM
  6. Replies: 2
    Last Post: 02-22-2011, 02:07 AM
  7. Add rows and search/copy/paste text into added rows
    By HelenW in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-14-2010, 04:06 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