Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.tables
|
|||
|
|||
Updating contents of a Word table
Hi,
Ho do I update the contens of a Word table? The Table type does not have an Update() method. TIA, JY |
#2
Posted to microsoft.public.word.tables
|
|||
|
|||
Updating contents of a Word table
Is this a table of contents, a table of figures, or an "ordinary" table that
contains formula fields? Generally, from the user interface you can update fields by selecting them and pressing F9. If you want a macro, you can use the following to update all fields in the body of the document: Sub UpdateFieldsInMainDoc() Dim t As TableOfContents Dim f As TableOfFigures Dim g As Field For Each t In ActiveDocument.TablesOfContents t.Update Next t For Each f In ActiveDocument.TablesOfFigures f.Update Next f For Each g In ActiveDocument.Fields g.Update Next g End Sub -- Stefan Blom Microsoft Word MVP "JY" wrote in message ... Hi, Ho do I update the contens of a Word table? The Table type does not have an Update() method. TIA, JY |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Table of Contents not updating | Microsoft Word Help | |||
Table of Contents not updating | Microsoft Word Help | |||
Word Table of Contents Updating | Microsoft Word Help | |||
Updating a table of contents | Microsoft Word Help | |||
Updating a table of contents | Microsoft Word Help |