set range to bottom of sheet
Try this formula...
Set rng7 = Rows(Rows.Count)
--
Rick (MVP - Excel)
"ranswrt" wrote in message
...
I have the following code to set a range to the bottom of the sheet:
Set rng7 = Range(xcell.Offset(71, -2), xcell.Offset(65000, -2)).EntireRow
I know there is a way to set it to the very bottom of the sheet, but I
can't
find it. How do I do this?
Thanks
|