You said they were blank, but apparently you are pasting something into them
so they are not blank.
You can probably use something like
Sub DeleteRows()
Do While Len(Trim(Range("A1"))) = 0
Rows(1).Delete
Loop
End Sub
--
Regards,
Tom Ogilvy
"STEVEB" wrote in
message ...
Tom,
I hope this helps:
The code worked when I "cleared the contents" rows 1-3, prior to
running the Macro. The reason the # of rows empty changes each week is
due to downloading various data. Is this an issue?
Even though there is no data in rows 1-3, for some reason, Excel is
recognizing the cells as "not blank".
Do you have any sugesstions? Thanks again!!
--
STEVEB
------------------------------------------------------------------------
STEVEB's Profile:
http://www.excelforum.com/member.php...fo&userid=1872
View this thread: http://www.excelforum.com/showthread...hreadid=483143