0
edits
Changes
no edit summary
The "On Error GoTo ExitSub" command in the script is very important. Once the document has been opened the first time the macro deletes all the '''source''' Text Form Fields. Any time the document is opened subsequently the macro will try to reference these fields, and since they no longer exist the command will fail and the macro will exit.
Hint: You may want to exclude the part of the macro that deletes the source fields while you are working on the document. This will allow you to see if the source fields are populating with the information you would expect to see.
[[Category:Custom Fields]]