Update Form Fields Problem

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"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top