Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

excel worksheet ranges

Status
Not open for further replies.

werjocks

Programmer
Oct 27, 2003
24
0
0
US
Im using vbscript to try and read all of the data on an excel sheet, without knowing the initial size or format. Is there a way to do a range call that grabs a range containing all the cells on a worksheet? Or preferably the minimum spanning range?
 
Take a look at the UsedRange property

Hope This Help, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top