O
Owen
Hello
I am using the following macro to update formula fields within a table. The
formula fields exist at the last row of the table. The rows above contain
text form fields with numerical values.
When i run the macro below, the text form fields are cleared (ie reset to
zero) which results in the formula result also being zero.
Is there a way to not clear the text form fields and to make the macro only
update the formula fields?
Thanks for your help
Owen
ActiveDocument.Unprotect Password:="ngo999"
Selection.WholeStory
Selection.Fields.Update
ActiveDocument.Protect (wdAllowOnlyFormFields), Password:="ngo999"
I am using the following macro to update formula fields within a table. The
formula fields exist at the last row of the table. The rows above contain
text form fields with numerical values.
When i run the macro below, the text form fields are cleared (ie reset to
zero) which results in the formula result also being zero.
Is there a way to not clear the text form fields and to make the macro only
update the formula fields?
Thanks for your help
Owen
ActiveDocument.Unprotect Password:="ngo999"
Selection.WholeStory
Selection.Fields.Update
ActiveDocument.Protect (wdAllowOnlyFormFields), Password:="ngo999"