I found out the extremely interesting link
http://pubs.logicale...icle.asp?ID=148
However the script
UpdateTocAndPageNumbers()
to update the pagenumbering doesn't work :
I get Run-time error '5843' on the last line of :
With ActiveDocument.ActiveWindow.View
.ShowAll = False
.ShowHiddenText = False
.ShowFieldCodes = False
.Type = wdPrintView
Can anyone help?
I'm not an expert in all this coding but it could help me a lot !
Thanks in advance.
Tina