R
Ragnar Midtskogen
Hello,
I need to delete all rows of a worksheet, starting with a certain row.
I have looked for a property that would give the row count but have not
found any.
What is a reliable way to detect which is the last row that contains
anything, short
of stepping through each row and looking for data.
It looks like the UsedRange property of a WorkSheet do this, but I am not
sure how.
Would a For Each --- Next loop on the rows do the trick?
Once I have the first and last rows then I can delete all the rows in one
operation.
Any help on this would be appreciated.
Ragnar
I need to delete all rows of a worksheet, starting with a certain row.
I have looked for a property that would give the row count but have not
found any.
What is a reliable way to detect which is the last row that contains
anything, short
of stepping through each row and looking for data.
It looks like the UsedRange property of a WorkSheet do this, but I am not
sure how.
Would a For Each --- Next loop on the rows do the trick?
Once I have the first and last rows then I can delete all the rows in one
operation.
Any help on this would be appreciated.
Ragnar