avi666
asked on
updating fields in word using vb
hi experts.
took me a while to understand how to update fields in word document. found out "ActiveDocument.Fields.Upd ate" command but I had a field in the header that was not updated with this command
so I found the "ActiveDocument.Sections(1 ).Headers( 1).Range.F ields.Upda te" and was happy but once again, I had a field inside a shape that wasn't updated by both commands.
so I wonder, what are all the options to update a CustomDocumentProperty in a document, no matter where its location? what collections should I check? (Sections? StoryRanges? Shapes?)
I'm lost.
howto.JPG
took me a while to understand how to update fields in word document. found out "ActiveDocument.Fields.Upd
so I found the "ActiveDocument.Sections(1
so I wonder, what are all the options to update a CustomDocumentProperty in a document, no matter where its location? what collections should I check? (Sections? StoryRanges? Shapes?)
I'm lost.
howto.JPG
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
(though I wish I knew more about Word architecture and how to get to fields directly and not through all-around loops)