Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Auto update TOC and cross-references

Status
Not open for further replies.

ltrawick

IS-IT--Management
Aug 19, 2005
2
US
Does anyone know of a way to have Word automatically update TOC fields and
page number cross-references within tables when a document is opened and/or
printed? I know the updates can be performed by selected the text and
pressing F9, but I don't want my readers of my doc to have to do this.
 
See thread68-820103

In the thread is mention of putting the macro as an icon. If you want to have it run automatically, on document open, put the code instruction in the Document_Open event. This is in the ThisDocument code module. Click the left dropdown in the code window, select Document. Then click the right dropdown, and select Open. This will write an empty Document_Open procedure. Put the code there.

If you need any more help with this, post back.

Gerry
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top