Group:  Microsoft Word ยป microsoft.public.word.docmanagement
Thread: Cross-Reference to inside a Table

Geek News

Cross-Reference to inside a Table
dgold82 12/9/2008 3:30:01 AM
I am making a form and cross referencing is working fine for me except to
fields within a table. I have to right click and click "update field" for it
to work.

Why is Word auto updating everywhere else in the document except within the
tables? How can I fix this?

Thanks!
RE: Cross-Reference to inside a Table
dgold82 12/9/2008 4:27:01 AM
I found a solution in a macro that I have the form field run on exit. Below
is the code:

Sub UpdateAllFields()

Dim aStory As Range
Dim aField As Field

For Each aStory In ActiveDocument.StoryRanges
For Each aField In aStory.Fields
aField.Update
Next aField
Next aStory

End Sub



"dgold82" wrote:

[Quoted Text]
> I am making a form and cross referencing is working fine for me except to
> fields within a table. I have to right click and click "update field" for it
> to work.
>
> Why is Word auto updating everywhere else in the document except within the
> tables? How can I fix this?
>
> Thanks!

Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net