Determine used range of worksheet
The UsedRange property of the Worksheet object returns a
Range object with the adaptly named Used Range.
I believe you can access this property.
HTH.
-----Original Message-----
I am using CreateObject in Access to rummage around in an
Excel worksheet for data I am copying into the database.
How can I determine what the bounds of the occupied area
of the worksheet are? I see objects showing the bounds of
active areas are, but nothing that shows the full range of
used cells. I need these vaules to limit the for/next
loops that are doing the rummaging.
.
|