This problem is probably more Windows-related than Word, but maybe anyone has a clue. Word2k automatically clears all filled-in fields in a template when you enable security. I bypassed this by creating my own button:
[VBA] ActiveDocument.Protect Type:=wdAllowOnlyFormFields, NoReset:=True [/VBA] with the noreset-setting.
We also have a lot of code created to bypass the standard printing operation, to make sure the different templates are printed from the right tray with different printers. I also used the noreset-setting there, it's works fine. It disabled the security, processes the vba-code, prints the document and then enables the security again. But recently I encountered a few users with the following problem. When they print a template-file with the fields already filled-in (logically), the field are emptied. The fields are emptied before the security is enabled again, so it happens with the disabling of the security. I found out that the problem can be solved by deleting the users' profile ntuser.dat (we use Win2K).
Is this really the only solution to this, or does anyone have another solution for this??