S
slappy54
I would like to be able to grab the row information from the first Do-While
loop (column D) and use it to create a range for the ActiveCell.Copy and
PasteSpecial (column J), instead of using a loop to find once again an empty
value. This works, but I couldn't figure out the code for the range to make
it run faster. Any help is greatly appreciated.
Thanks,
Mike
Range("D2").Select
Do While ActiveCell.Value <> Empty
ActiveCell.Offset(1, 0).Select
Loop
For I = 1 To 15
ActiveCell.Offset(1, 0).EntireRow.Delete
Next I
Range("J2").Select
Do While ActiveCell.Offset(1, -1).Value <> Empty
ActiveCell.Copy
ActiveCell.Offset(1, O).PasteSpecial (xlPasteFormulas)
Loop
Range("J2").Select
loop (column D) and use it to create a range for the ActiveCell.Copy and
PasteSpecial (column J), instead of using a loop to find once again an empty
value. This works, but I couldn't figure out the code for the range to make
it run faster. Any help is greatly appreciated.
Thanks,
Mike
Range("D2").Select
Do While ActiveCell.Value <> Empty
ActiveCell.Offset(1, 0).Select
Loop
For I = 1 To 15
ActiveCell.Offset(1, 0).EntireRow.Delete
Next I
Range("J2").Select
Do While ActiveCell.Offset(1, -1).Value <> Empty
ActiveCell.Copy
ActiveCell.Offset(1, O).PasteSpecial (xlPasteFormulas)
Loop
Range("J2").Select