View Single Post
  #8   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Doug Robbins - Word MVP
 
Posts: n/a
Default Form text fields are disappearing during a merge to new docume

With the data from the required record displayed, run the following macro

Dim afield As Field
For Each afield In ActiveDocument.Fields
If afield.Type = wdFieldMergeField Then
afield.Unlink
End If
Next afield
ActiveDocument.Protect wdAllowOnlyFormFields
Dialogs(wdDialogFileSaveAs).Show

Enter a new filename when the FileSaveAs dialog appears as running this
macro will "destroy" the mergefields in the mailmerge main document.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

"bambicats7" wrote in message
...
could you please tell me what the workaround is? I think I may be able to
use
it.

"Charles Kenyon" wrote:

As Doug said, the two features are not designed to work together.
However,
if you are using merge to fill in data from only one record, there is a
workaround. What, exactly, are you doing?
--
Charles Kenyon

Word New User FAQ & Web Directory: http://addbalance.com/word

Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide

See also the MVP FAQ: http://word.mvps.org/FAQs/ which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.

"Trevor Drew" Trevor wrote in message
...
We would like to create a form that has some merged information on it,
as
well as check boxes, dropdowns and form text fields. After the merge
to a
new document, we would save it as a template and turn on document
protection
with a password. The recipient could then fill in the form, using the
check
boxes, drop-downs and text fields. However, when I merge the document,
the
form text fields disappear, whereas the check boxes and dropsowns
don't.
How
can I make the form text fields survive the merge? We are at Word 2003
SP1.