update table of contents

T

tpmcpharlin

I have a large doc (600+ pages) with many tables of contents and figure
(about 75). When I want to update I have to click on "Update entir
table" and OK for every table (that's 150 clicks!). Is there a way t
change the default to "Update entire table" or better yet to automat
the entire process
 
D

Doug Robbins - Word MVP - DELETE UPPERCASE CHARACT

Run a macro containing the following code:

Dim aTC As TableOfContents, aTF As TableOfFigures
For Each aTC In ActiveDocument.TablesOfContents
aTC.Update
Next aTC
For Each aTF In ActiveDocument.TablesOfFigures
aTF.Update
Next aTF


--
Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested. Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.
Hope this helps
Doug Robbins - Word MVP
 
R

Robert M. Franz (RMF)

Hi tpmc...
I have a large doc (600+ pages) with many tables of contents and figures
(about 75). When I want to update I have to click on "Update entire
table" and OK for every table (that's 150 clicks!). Is there a way to
change the default to "Update entire table" or better yet to automate
the entire process.

Out of sheer curiosity: 600+ pages and ever 8+ page a TOC – what kind of
document is that?

Greetinx
..bob
...Word-MVP
 

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