It is not clear what you are looking for. What is it that the code has to do?
'Lines' is not something you should be looking at - the terminology which makes sense is 'paragraphs'. The number of lines depends on a range of variables such as the window size or font size/paper size. The number of paragraphs is fixed.
If you want to remove the blank 'paragraphs' then you don't need to know what their numbers are, you just need to remove them. The code Paul supplied previously will do that.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
|