Thanks for your reply, Cynthia. Sorry, I didn't explain my question clearly. Now we have a lot of listings (*.rtf ) to output, but all of them are different for all contents, titles, footnotes, for example, some width of cells for one observation or one row may have serveral lines(like sex/^n age/^n birthday), some titles or footnotes may also have serveral lines. I want to find out how many rows(observations) in one page(rtf) , even though some rows may have serveral lines, make sure that each row is in same page without page break. example : title1.AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA column A column B column C .............. column J 17years / Female drug A the patient did't sign the informed ..... / 19980910 consent form ...... >>>>>> >>>>>> >>>>>>> ********column A and C have two lines, while column B has one line**************; footnote1AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA footnote2AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
... View more