Cross-Reference to inside a Table

  • Thread starter Thread starter dgold82
  • Start date Start date
D

dgold82

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!
 
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
 
Back
Top