Disclaimer: I don't have a Win box at hand now, so I can't verify what I'm saying.
I think that if you give a "select all" command and then examine the selection object, you should be able to determine the last used column and row. After that, it's only a matter of iterating through rows and columns to find the empty ones.
Rule One: "Do not act incautiously when confronting a little bald wrinkly smiling man."
| [reply] |
Hello,
you can use the method UsedRange on a worksheet object to find the last used cell in a worksheet object. This way, you don't need to iterate over all 64K rows (or more with Excel 2007) which should save much time.
But I don't know a better way to find out which lines or columns are empty than an iteration.
Best regards,
perl -e "s>>*F>e=>y)\*martinF)stronat)=>print,print v8.8.8.32.11.32"
| [reply] [d/l] |