You are on page 1of 1

https://wordribbon.tips.net/T005882_Getting_a_Proper_Total_Page_Count.

htmlou can
make the change by simply positioning the insertion pointer in the footer, next to
the page numbers, and pressing Alt+F9. This displays all the field codes in the
document instead of the field code results. Just make the change to the second
field, replacing the letters "NUM" with "SECTION". Press Alt+F9 again, and your
page numbering should be correct, showing Page 1 of 79.This approach will not work,
however, if you have more than the single section break in your document. In that
case you'll need to simply make a bit more complex change to the field codes used
for the page number. Follow these steps:Position the insertion point just before
the Y page number. At this point the field is probably highlighted automatically by
Word.Delete the Y page number field.Press Ctrl+F9. Word inserts an empty set of
field code braces.Type an equal sign and a space.Press Ctrl+F9 again. Word inserts
another empty set of field code braces.Type NUMPAGES and a space.Position the
insertion point just between the final two right braces.Type a minus sign and a 1.
Your field code for the Y page number should now look very similar to this:{ =
{ NUMPAGES } - 1 }Press Shift+F9 to collapse the fields.

You might also like