As mentioned before, this is also an interesting option to consider:
http://www.rondebruin.nl/copy7.htm
One problem seems to be that it doesn't differentiate between empty cells
and
cells holding the value 0.
RBS
"Geoff K" wrote in message
...
Hi Bart
Unfortunately this is not working correctly. It returns a row number much
less than the actual last row.
However the bloated UsedRange wbk does NOT go into an infinite loop. I am
greatly encouraged by this development.
I will test further tomorrow. Many thanks for your continued interest.
Geoff
"Bart Smissaert" wrote:
With ADO it would work along the code
below and will normally be a lot faster
than with Excel4: