Getting closer - 1 row copied but the result is 5 duplicate rows pasted - not just the one.
Is there something in this line of code that can be tweaked?
Range(.[A3], .[A3].End(xlDown)).Offset(1).PasteSpecial xlPasteAll
This is what I have so far - I get a "400" error after the copy.
Sub CopyRow()
Dim Rng As Range
Dim i As Range
Set Rng = Range("A15", Range("A" & Rows.Count).End(xlUp))
For Each i In Rng
If i = Date Then
i.EntireRow.Copy
Sheets("History...
I need to copy a range (col B:col F) if date in col A is today's date. Then I need to paste that data into col B:col F on another worksheet if col A is today's date.
My goal is maintain a history file in a hidden sheet. Thoughts?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.