+ Reply to Thread
Results 1 to 3 of 3

Insert rows based on a value in a cell and copy the data down into the new rows

  1. #1
    Registered User
    Join Date
    05-04-2013
    Location
    NYC
    MS-Off Ver
    Excel 2010
    Posts
    5

    Insert rows based on a value in a cell and copy the data down into the new rows

    I am trying to find a VBA that can copy and insert rows based upon a value found in each row. I attached an excel workbook containing 2 sheets. The first sheet is the data sheet and the second sheet shows what I need the VBA program to do. Essentially column 13 has the quantity for the total duplicate rows (row 2 needs to have a total of 4 duplicate rows, row 3 needs to have a total of 2 duplicate rows, etc). Any help would be appreciated.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Insert rows based on a value in a cell and copy the data down into the new rows

    Try the attached.
    Attached Files Attached Files

  3. #3
    Forum Expert
    Join Date
    10-10-2008
    Location
    Northeast Pennsylvania, USA
    MS-Off Ver
    Excel 2007
    Posts
    2,387

    Re: Insert rows based on a value in a cell and copy the data down into the new rows

    eyeman96,

    See my reply #13 to your cross post here:
    http://www.excelforum.com/excel-prog...-new-rows.html
    Have a great day,
    Stan

    Windows 10, Excel 2007, on a PC.

    If you are satisfied with the solution(s) provided, please mark your thread as Solved by clicking EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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