Hi!
My macro looks like this:
Sub copydata ()
Sheets ("Template"). Select
lr = Cells.Find ("*", Cells (1, 1), xlFormulas, xlPart, xlByRows, xlPrevious, False) .Row
Range ("A3: R" & lr) .Copy
Sheets ("List"). Select
lrTarget = Cells.Find ("*", Cells (1, 1), xlFormulas, xlPart, xlByRows, xlPrevious, False) .Row
Cells (lrTarget + 1, 1) .Select
Selection.PasteSpecial Paste: = xlPasteValues, Operation: = xlNone, SkipBlanks _
: = False, Transpose: = False
End Sub
It works fine with copying all lines to the "List" tab. I need to modify the code, which will copy only those rows where in the R column (the "STATUS" column) the status is "Done".
Thanks in advance for any help!
J.
My macro looks like this:
Sub copydata ()
Sheets ("Template"). Select
lr = Cells.Find ("*", Cells (1, 1), xlFormulas, xlPart, xlByRows, xlPrevious, False) .Row
Range ("A3: R" & lr) .Copy
Sheets ("List"). Select
lrTarget = Cells.Find ("*", Cells (1, 1), xlFormulas, xlPart, xlByRows, xlPrevious, False) .Row
Cells (lrTarget + 1, 1) .Select
Selection.PasteSpecial Paste: = xlPasteValues, Operation: = xlNone, SkipBlanks _
: = False, Transpose: = False
End Sub
It works fine with copying all lines to the "List" tab. I need to modify the code, which will copy only those rows where in the R column (the "STATUS" column) the status is "Done".
Thanks in advance for any help!
J.