Page Number Issue in Footer RRS feed

  • Question

  • Application uses MS Word to insert application data into Word templates and and merge all templates into single document. Each template has page number inserted in footer. Each footers of templates in document are disconnected from each other. Page number are correctly displayed on each pages except last page. Last page of each templates display incorrect total page. i.e. instead of 'Page 10 of 10', it display 'Page 10 of 9'.

    Software used: MS Word 2003, Visual Studio 2010.


    • Changed type Rex Zhang Wednesday, September 21, 2011 9:16 AM
    Wednesday, September 7, 2011 4:14 PM

All replies

  • What appears on Page 9?  Is it Page 9 of 9, or Page 9 of 10?  If you use Alt+F9 to toggle on the display of field codes, what do you see?
    Doug Robbins - Word MVP dkr[atsymbol]mvps[dot]org
    Wednesday, September 7, 2011 10:32 PM
  • Till page 9 it appears as 'Page 9 of 10', and on page 10 it will appear as 'Page 10 of 9'. Field code is 'Page { PAGE } of {NUMPAGES}'.
    Thursday, September 8, 2011 8:38 PM