![]() |
#4
|
|||
|
|||
![]()
But you say in your original post that "YOU" update the page heading on each page:
"Great so far, but I then update the heading on each page with just A & B." If you TOC is created based on styles e.g., Heading 1 and you change the Heading 1 text then the TOC will update to reflect the changed text. You might try: Sub ScratchMacro() 'A basic Word macro coded by Greg Maxey ActiveDocument.TablesOfContents(1).UpdatePageNumbe rs lbl_Exit: Exit Sub End Sub |
Tags |
toc, toc hyperlinks, toc problems |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
newbieX | Word VBA | 6 | 11-20-2015 02:03 PM |
![]() |
RegAudit | Word | 6 | 03-16-2015 11:08 PM |
![]() |
WordHostage | Word | 2 | 11-26-2011 11:24 AM |
Cannot remove replaced personal folder | rumin | Outlook | 2 | 01-31-2011 08:28 AM |
TOC printing Error Bookmark not Defined | techexpressinc | Word | 0 | 12-14-2008 05:24 PM |