docVariables (97 SR-2)

I want to use a docVariable (user-defined) in various documents, which the user will occasionally replace and update with a keyboard macro. The macro works fine with regular text by doing ...Fields.Update. However, if the docvar is in a text frame box, it is not updated! What can I do to update those as well?

Re: docVariables (97 SR-2)

I am yet to find a good reason for anyone to ever need a text frame but ...

The macro will require more than one line if you want to update the fields in the text frames.
<pre>Dim aStory As Variant
For Each aStory In ActiveDocument.StoryRanges
aStory.Fields.Update
Next aStory</pre>