Updating fields word mac
I just want to have a single macro that finds everything.) My attempt so far doesn't update fields in text boxes inside figures.
Now that you know about the fields you can insert, let’s look at how you can edit the properties of a field and update its values after insertion.Table 16.2 includes a quick summary of these shortcuts.Field Doesn’t Update Remember, most fields do not update automatically.Most fields are not automatically updated each time you open or save the document.(In this way, they differ from OLE linked objects, which are automatically updated by default.) To update a single field, select it (or click anywhere in it) and press F9, or right-click the field and choose Update Field.I am attempting to do the same - to renumber figures/photos after moving them around, without deleting and then putting them back in.
I see the instructions to select all, then F9 or right click on 'update fields'.
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.
If you have toggled on the display of the field code string, updating the field toggles it back to displaying the results.
To update multiple fields at once, select them as part of a contiguous selection range and press F9.
(If it works in other versions, all the better; I originally had this problem with Word 2007, and nothing seems to have changed since then.) This includes cross-references, page numbers, tables of contents, indexes, headers, etc.