Word 2010 Template Footer Page Numbering off

Good morning Experts, I have created a Word 2010 template for some documents and am having an issue with the page numbering in the footer.  

When a user opens the file, the footer on the first page reads (for example) 1 of 1 where in reality the page is (in the example) 1 of 2.  This occurs until the ref fields are updated.  Some users have complained because they have printed out copies and the page numbering on the first page seems to indicate the wrong number of total pages.  

Could someone please show me how to correct this problem?  I have tried searching through multiple forums but can't seem to find a solution to a similar issue.

Thanks in advance,
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Your document works OK for me (Word 2007).

There must be something particularly difficult about the calculation of the Numpages field, because this has been an occasional problem since Word 2000. I have tested one of the suggestions from here
where a PageRef field referencing a bookmark at the end of the document is used.

Incidentally. there is an automatic bookmark called "\EndOfDoc" in that position. I use it all the time in VBA code,  but PageRef can't see it, so you will have to set your own.
Paul SauvéRetiredCommented:
I have Office 2010 on my Win7 64bit PC. I removed the text but kept the headings to reduce the file to 1 page, then saved it as a template file (Bad-Example.dotx).

When I create a new document with the template file, it automatically inserts the correct total number of pages in the footer.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Word

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.