I want to do a mailmerge (document type = form letter) on a document that is a form: it contains form fields and is 'protected for forms'.
This operation is to be carried out by VB code, addressing Word from outside.
This way, I want the user of my application to be able to create a document and have my application fill in some fields (by means of the mail merge), and another user fill in some other fields (by filling in a protected form).
I have no problem coding the merge itself, and provided the password is known it is possible to remove and put back the forms-protection.
So, it all works well exept for one thing: Word removes the text-formfields. Checkboxes and combos survive the operation, but all text-input-fields are gone.
Anybody any idea why, and how to prevent it?
This operation is to be carried out by VB code, addressing Word from outside.
This way, I want the user of my application to be able to create a document and have my application fill in some fields (by means of the mail merge), and another user fill in some other fields (by filling in a protected form).
I have no problem coding the merge itself, and provided the password is known it is possible to remove and put back the forms-protection.
So, it all works well exept for one thing: Word removes the text-formfields. Checkboxes and combos survive the operation, but all text-input-fields are gone.
Anybody any idea why, and how to prevent it?