copy the row contents and based on cell value in row

  • hello everyone
    i need a help in creation of macro, it should copy the row contents and based on one cell value in that row, it has to insert those many rows automatically with the contents.
    lets say xxy. xxz. ere. 5
    aab. err. avid. 2. ..as the number here is 5 in the first row, it should create 5 rows with the same entries in a new sheet and as 2 in second row it should create 2rows below in the new sheet


    Xxy xxz. Ere 5
    Xxy xxz ere 5
    Xxy xxz ere 5
    Xxy xxz ere 5
    Xxy xxz ere 5
    aab ere avid 2
    Arab ere avid 2. this is how it stud appear in new sheet.hope the requirement is clear.

  • Re: copy the row contents and based on cell value in row


    Supposing your data start at row 2 of Sheet1 you could have a try with this macro. Copy it in a VBA module then launch it.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!