My client wants page numbers in the form Page 1 of XX, where XX is the number of pages in the body of the document. If there were only one section in the body of the document I could use the Numpages field. But there are several sections.
I could use a Pageref field for a bookmark at the end of the last body section, but that seems less than robust. An author could easily delete that bookmark.
Any other ideas? I can envision a macro that totals the number of pages in each section, but the only ones I can think of involve looping which I don't know how to embed in a formula field.