Updating references in word Dicks on cam chat
In all versions of Word, you insert a cross-reference using the Cross-reference dialog.How you get there depends on the version: Figure 1.You probably know in general what a cross-reference is.Whenever you write, see page 15 or in Chapter 5 or in the Further Developments section, you are using a cross-reference.If you insert such cross-references as ordinary text, you will have to update them manually if pagination changes or Chapter 5 becomes Chapter 6 or you change the heading Further Developments to Later Developments.Word, however, provides a way to insert a cross-reference so that it can be updated semi-automatically when the target changes.
If you already know all that, you can jump immediately to the section that interests you.
Taking care of the common cases is good enough for me. Sub Update All Fields In(doc As Document) '' Update tables. Update Next toc Dim tof As Table Of Figures For Each tof In doc.
In fact, it's ok if I have to run the macro two or three times before it stabilizes. We do this first so that they contain all necessary '' entries and so extend to their final number of pages.
NOTE: You must be using automated caption numbering, Word’s heading styles (mostly), and automated cross-references (x-refs) for these steps to work.
If you have a document with several sections and automated table/figure captions and x-refs to these, you might wonder how you can update these numbers etc.