Challenge!! Updating Table of Contents ...

G

Guest

Hi folks,

My problem may be the result of something "buggy" in the affected document (several users over a period of time) but I'm sure someone out there has an ingenious solution!

I have inherited a document. It's a rather a long and complex one that is updated and reissued periodically. A number of changes have been made recently requiring an update to the table of contents. The TOC has particular (manual) formatting and so all I want to do is update the page numbers only. When I press F9 I *do not* get the usual dialog box giving me the choice of updating the entire TOC or page numbers only ... as a result it refreshes the entire TOC and messes it up. I've tried everything I can think of, everything looks normal, the styles TOC1, TOC2 etc. are OK.

Save my sanity someone. Please!

Best, Sharon.
 
M

Margaret Aldis

Hi Sharon

I believe that Word sometimes doesn't give the option to 'update page
numbers only' if the structure of the document (relating to the hidden cross
references for the TOC) has changed - so this could be a warning that you
will need to regenerate the TOC, and reapply the manual formatting.

Do you get the same effect if you right click and choose 'Update field'?

You could try using VBA to request page number only update from a macro or
the immediate window using

ActiveDocument.TablesOfContents(1).UpdatePageNumbers

--
Margaret Aldis - Microsoft Word MVP
Syntagma partnership site: http://www.syntagma.co.uk
Word MVP FAQ site: http://www.mvps.org/word

Sharon said:
Hi folks,

My problem may be the result of something "buggy" in the affected document
(several users over a period of time) but I'm sure someone out there has an
ingenious solution!
I have inherited a document. It's a rather a long and complex one that is
updated and reissued periodically. A number of changes have been made
recently requiring an update to the table of contents. The TOC has
particular (manual) formatting and so all I want to do is update the page
numbers only. When I press F9 I *do not* get the usual dialog box giving me
the choice of updating the entire TOC or page numbers only ... as a result
it refreshes the entire TOC and messes it up. I've tried everything I can
think of, everything looks normal, the styles TOC1, TOC2 etc. are OK.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top