Hi, I need to put following the footer: Page <current page no> of <no . of total pages> I don't know how to get the total no. of pages. Can someone help me? I think one needs 2 passes to do this. Is there a 1-pass method to do so? Regards, Sumit -- When arrogance blooms, it reaps a harvest rich in tears.