Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Update all fields with a macro?
Hi everybody,
I have an AutoOpen macro that updates all fields in a document (you all helped me with that, thank you again!), but it won't update fields if they're in a table. It'll update fields if they're in the header, footer, or main body of a document, though. The code I have for this is: ActiveDocument.Fields.Update Does anyone know what I have to add to make this update fields that are in tables as well? Thank you! Jezzica85 |
#2
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Update all fields with a macro?
See the sample code at http://www.gmayor.com/installing_macro.htm
-- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org jezzica85 wrote: Hi everybody, I have an AutoOpen macro that updates all fields in a document (you all helped me with that, thank you again!), but it won't update fields if they're in a table. It'll update fields if they're in the header, footer, or main body of a document, though. The code I have for this is: ActiveDocument.Fields.Update Does anyone know what I have to add to make this update fields that are in tables as well? Thank you! Jezzica85 |
#3
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Update all fields with a macro?
Thank you Graham, that worked great!
Jezzica85 "Graham Mayor" wrote: See the sample code at http://www.gmayor.com/installing_macro.htm -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org jezzica85 wrote: Hi everybody, I have an AutoOpen macro that updates all fields in a document (you all helped me with that, thank you again!), but it won't update fields if they're in a table. It'll update fields if they're in the header, footer, or main body of a document, though. The code I have for this is: ActiveDocument.Fields.Update Does anyone know what I have to add to make this update fields that are in tables as well? Thank you! Jezzica85 |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Need to update a Macro | Microsoft Word Help | |||
Macro to help update information from the Protected files. | Microsoft Word Help | |||
Update field and macro security | Microsoft Word Help | |||
create a macro to update (save) document | Microsoft Word Help | |||
Macro to update ToC in a form - I'm stuck! | Microsoft Word Help |