Thursday, July 5, 2012

Page Numbering in XML Publisher/MS Word


Open the footer and press [Alt][F9] to display field codes. You should see this: If you dont get these fields, select header and press [Ctrl][F9]. Word displays empty braces {}. Enter field names PAGE or NUMPAGES inside the curly braces as shown below.

Page { PAGE } of { NUMPAGES }

Highlight { NUMPAGES} and press [Ctrl][F9] to create a new field that nests the Numpages field, like this:

Page { PAGE } of { { NUMPAGES} }

The insertion point will be where you need it, between the two opening braces, so just type =.
Click between the two closing braces and type -1. Here's what you should have:

Page { PAGE } of { = { NUMPAGES} -1 }

Highlight the contents of the footer and press [F9] to update the fields.
Press [Alt][F9] to switch to results mode.
Related Posts Plugin for WordPress, Blogger...