koz<br>
It depends on what is in the spreadsheet. If you know beforehand you can test for a few blank rows (the maximum you would expect in such a sheet) and then end it.<br>
<br>
A more correct way if you do not know the layout of the worksheet is to use the .currentregion and/or .usedrange properties of the worksheet as in activesheet.usedrange. <br>
PK <p>PK Odendaal<br><a href=mailto: pko@mweb.co.za> pko@mweb.co.za</a><br><a href= > </a><br>
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.