I working on converting templates to 2007. Some of the templates contain UserForms, some of the templates have protection in them, and some do not. When using the report template (without any protection), after filling in the UserForm, the text will go into the Text Form Field text area only, it will not automatically fill in any refs to those form fields. The original code in the template including a switch to normal view then back to page (or print) view to refresh all ref fields. This no longer works. I’ve tried selecting Calculate on exit for all form fields but that doesn’t make a difference either.
I think I found yesterday that if a template is protected, it needs an ActiveDocument.Fields.Update in the code, which I’ve added. As of yesterday, that particular template worked but I didn’t try it on any others. I was hoping that same code would work in an unprotected file but it doesn’t. I’ve spent hours searching for an answer and trying different variations but nothing is working.