Professional Documents
Culture Documents
Macro To Copy and Repeat Rows
Macro To Copy and Repeat Rows
' This routing will copy rows based on the quantity to a new sheet.
Dim Range1 As Range
Dim Range2 As Range
Dim i As Integer
' Set this
f there are no
Set Range1
Set Range2
for the range where the Quantity column exists. This works only i
empty cells
= Range("I1", Range("I1").End(xlDown))
= Cells(1, "I")