Hp officejet 4630 driver download. I want a way of updating all fields in a Word 2013 document. (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. If it can be updated by pressing F9, I want it updated. (In theory updating fields can cause other fields to need updating, e.g. A longer table of contents changes some page numbers in the main text. Taking care of the common cases is good enough for me. In fact, it's ok if I have to run the macro two or three times before it stabilizes.
Jul 26, 2018 - insert date and time update automatically word for mac. Also right- or Control-click anywhere on the box to reveal an “Update Field” option. Dec 23, 2011 The TOC does not update automatically for any number of practical reasons. When it's necessary to update it just right-click in the TOC & select the Update Field command. If the Update fields box is checked in Word> Preferences - Print the TOC will automatically update whenever you print the document. Regards, Bob J.
I just want to have a single macro that finds everything.) My attempt so far doesn't update fields in text boxes inside figures. How do I update them, and what else have I missed? EDIT: Combining the answer given with what I already had gives a macro that seems to update everything (with a ). Jennifer lopez on the floor one direction 320kbps mp3 download. ' Update all the fields, indexes, etc. In the specified document. Sub UpdateAllFieldsIn(doc As Document) ' Update tables. We do this first so that they contain all necessary ' entries and so extend to their final number of pages.
Dim toc As TableOfContents For Each toc In doc.TablesOfContents toc.Update Next toc Dim tof As TableOfFigures For Each tof In doc.TablesOfFigures tof.Update Next tof ' Update fields everywhere. This includes updates of page numbers in ' tables (but would not add or remove entries). This also takes care of ' all index updates. Dim sr As range For Each sr In doc.StoryRanges sr.Fields.Update While Not (sr.NextStoryRange Is Nothing) Set sr = sr.NextStoryRange ' FIXME: for footnotes, endnotes and comments, I get a pop-up ' 'Word cannot undo this action. Do you want to continue?' Sr.Fields.Update Wend Next sr End Sub ' Update all the fields, indexes, etc.
In the active document. ' This is a parameterless subroutine so that it can be used interactively. Sub UpdateAllFields() UpdateAllFieldsIn ActiveDocument End Sub. I just do Ctrl+ A - to select everything - and then F9 to update the lot.
Although, this misses headers and footers, but they update when you print/print-preview IIRC. Update I've found the following macro. On a quick test it updated tables of contents, fields within paragraphs, fields within the header and footer, and fields within a floating text box figure. Hopefully that covers everything that you need, if not please indicate what is still failing to update. Source: Sub UpdateAll() Dim oStory As Range For Each oStory In ActiveDocument.StoryRanges oStory.Fields.Update If oStory.StoryType wdMainTextStory Then While Not (oStory.NextStoryRange Is Nothing) Set oStory = oStory.NextStoryRange oStory.Fields.Update Wend End If Next oStory Set oStory = Nothing End Sub. This looks interesting: If you are using Word 2007, the process is a bit different: Click the Office button and then click Word Options. Word displays the Word Options dialog box.