Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.word.newusers
|
|||
|
|||
![]()
I have added a button to a template to update the table of contents when it
is pressed. My boss asked me if there was a way to automatically update the template so the user didn't have to do anything. Please let me know if this can be done (i.e. automatically run the macro). As always, thanks for the help!! Ken K. -- akkrug |
#2
![]()
Posted to microsoft.public.word.newusers
|
|||
|
|||
![]()
Place the following auto macro in the Normal template for each user:
Sub AutoOpen() Dim toc As TableOfContents For Each toc In ActiveDocument.TablesOfContents toc.Update Next toc End Sub See also http://www.gmayor.com/installing_macro.htm. -- Stefan Blom Microsoft Word MVP "akkrug" wrote in message ... I have added a button to a template to update the table of contents when it is pressed. My boss asked me if there was a way to automatically update the template so the user didn't have to do anything. Please let me know if this can be done (i.e. automatically run the macro). As always, thanks for the help!! Ken K. -- akkrug |
Reply |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Update Table of Contents: Document Not Seeing heading update | Microsoft Word Help | |||
Update Table of Contents | New Users | |||
Update Table of Contents | Microsoft Word Help | |||
Update Table of Contents | Microsoft Word Help | |||
Update Table of Contents | Microsoft Word Help |