Cells(Rows.Count, "A").End(xlUp).Row
will get you to the last row in col A from the bottom up. With many macros,
especially those that delete rows it is best to work from the bottom up. so
you start at the bottom and look at each row above
--
Don Guillett
Microsoft MVP Excel
SalesAid Software
(E-Mail Removed)
"Jim" <Jim @discussions.microsoft.com> wrote in message
news:0FDE8C98-DA72-4350-A063-(E-Mail Removed)...
> For j = Cells(Rows.Count, "A").End(xlUp).Row To 6 Step -1
>
> i know about the for loop, im just not sure about the xlUp stuff. thanks