#1
|
|||
|
|||
How to add Auto update Total Page number
Dear all
Is there any way i can insert a total page number As now i know how to add the page number but i have to update it every time when i close the file. Is there a way that it would update the same way when we add page or reduce page in the footer ?? Thanks |
#2
|
|||
|
|||
You have your total page number in the form of a NUMPAGES field in the body of the document rather than the header or footer?
Pagination Fields |
#3
|
|||
|
|||
Thanks a lot of the suggestion.
However, i want it to be automatically update as of when i add a page or reduce a page Like the page number on the page. Now i need to update field of NumPage Any idea ? Eric |
#4
|
|||
|
|||
That seems it would constitute and update every time you touch the document. In other words, Word would have to capture the fact you added a page or deleted a page.
The typical way would be to select Ctrl + A and then F9... but is this is not what you want then you could do it through a macro. Code:
Sub Test() ActiveDocument.Fields.Update End Sub |
#5
|
|||
|
|||
Eric, what I wrote was intended as a question. Please read it again.
The macro presented by Jeffrey will update fields in the document text story of the document. I still do not know if this is a field and if so which field and whether it is the header/footer or in the body of the document. Last edited by Charles Kenyon; 09-29-2018 at 03:15 PM. |
#6
|
||||
|
||||
A NUMPAGES field in the page header or footer updates automatically as pages are added/deleted; there is no need for a macro.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#7
|
|||
|
|||
Thanks but it is not automatic update
I still have to üpdate field Eric |
#8
|
|||
|
|||
And it will not be automatic as your NUMPAGES is not with within the header or footer as directed.
|
#9
|
||||
|
||||
Without wanting to place too fine a point on it, your NUMPAGES field is not in the page header or footer...
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Page number total in footer with section breaks | Bamboozled | Word | 4 | 06-12-2018 09:36 PM |
Formula for calculating total when number and letter in one cell | Oleg | Excel | 5 | 02-22-2017 03:05 AM |
Total Page number incorrect in the first page footer | mmathisekar | Word | 11 | 06-16-2016 06:00 AM |
Showing page numer and total page count in TOC | Ulodesk | Word | 5 | 02-12-2014 01:03 PM |
Auto-Update Amended Page Numbers? | herbertp | Word | 5 | 02-01-2013 02:20 AM |