Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Automatically update TOC on open
I have a .dot that is saved to the web, that is used by several people to
create other documents. Problem is that once the docs are completed and posted to the web the page numbers will sometimes change to something else. This pdroblem can be corrected by pressing F9 each time to update the TOC, But is there some code that will update the TOC when the documents are opened? |
#2
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Automatically update TOC on open
Hi ?B?Y2Fq?=,
I have a .dot that is saved to the web, that is used by several people to create other documents. Problem is that once the docs are completed and posted to the web the page numbers will sometimes change to something else. This pdroblem can be corrected by pressing F9 each time to update the TOC, But is there some code that will update the TOC when the documents are opened? It would have to be a macro. For example: Sub AutoOpen 'Name is required ActiveDocument.TablesOfContents(1).Update End Sub Cindy Meister INTER-Solutions, Switzerland http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005) http://www.word.mvps.org This reply is posted in the Newsgroup; please post any follow question or reply in the newsgroup and not by e-mail :-) |
#3
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Automatically update TOC on open
Thanks. That worked great!!
"Cindy M." wrote: Hi ?B?Y2Fq?=, I have a .dot that is saved to the web, that is used by several people to create other documents. Problem is that once the docs are completed and posted to the web the page numbers will sometimes change to something else. This pdroblem can be corrected by pressing F9 each time to update the TOC, But is there some code that will update the TOC when the documents are opened? It would have to be a macro. For example: Sub AutoOpen 'Name is required ActiveDocument.TablesOfContents(1).Update End Sub Cindy Meister INTER-Solutions, Switzerland http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005) http://www.word.mvps.org This reply is posted in the Newsgroup; please post any follow question or reply in the newsgroup and not by e-mail :-) |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Links do not update automatically. | Microsoft Word Help | |||
Links won't automatically update | Microsoft Word Help | |||
update automatically | Microsoft Word Help | |||
Automatically update style | Microsoft Word Help | |||
Automatically Update Style | Microsoft Word Help |