Article ID: 211308 - Last Review: August 29, 2007 - Revision: 1.4 WD2000: Text Form Fields Are Not Retained During Mail MergeThis article was previously published under Q211308 For a Microsoft Word 2002 version of this article, see 286841
(http://support.microsoft.com/kb/286841/EN-US/
)
.
On This PageSYMPTOMS
A mail merge main document that contains form fields retains the drop-down and check box form fields, but text form fields are not present in the merge result.
CAUSE
Microsoft Word unlinks the text form fields during the mail merge. Word does not unlink display form fields, such as the drop-down and the check box form fields.
WORKAROUNDMicrosoft provides programming examples for illustration only, without warranty either expressed or implied, including, but not limited to, the implied warranties of merchantability and/or fitness for a particular purpose. This article assumes that you are familiar with the programming language being demonstrated and the tools used to create and debug procedures. Microsoft support professionals can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific needs. If you have limited programming experience, you may want to contact a Microsoft Certified Partner or Microsoft Advisory Services. For more information, visit these Microsoft Web sites: Microsoft Certified Partners - https://partner.microsoft.com/global/30000104 (https://partner.microsoft.com/global/30000104) Microsoft Advisory Services - http://support.microsoft.com/gp/advisoryservice (http://support.microsoft.com/gp/advisoryservice) For more information about the support options that are available and about how to contact Microsoft, visit the following Microsoft Web site:http://support.microsoft.com/default.aspx?scid=fh;EN-US;CNTACTMS (http://support.microsoft.com/default.aspx?scid=fh;en-us;cntactms) For more information about how to use the sample code in this article, click the article number below to view the article in the Microsoft Knowledge Base: 212536
(http://support.microsoft.com/kb/212536/EN-US/
)
OFF2000: How to Run Sample Code from Knowledge Base Articles
You can work around the problem by using the following sample macros to:
Macro 1Create one of the following macro examples appropriate for your situation.For example, if you want to merge to a new document, use Example 1. If you want to merge to e-mail recipients, use Example 2. Example 1: Merging to a New DocumentExample 2: Merging to E-mail RecipientsMacro 2Also create the following macro example as your second macro to work around the problem described in this article:MORE INFORMATION
Some fields, such as the NEXT and FILLIN fields, require input either from the data document or from you to continue processing the merge. In this case, Word places the results in the merged document. However, fields that obtain information from document statistics, such as the NUMPAGES field, may be inappropriate for a merged document. As a result, they are not retained in the merge result. The following table lists which fields are not unlinked and which fields are unlinked during a Word mail merge.
Fields that are Fields that are
not unlinked unlinked
---------------------------------------------------
= (FORMULA) ASK
ADVANCE AUTHOR
AUTONUM AUTOTEXT
AUTONUMLGL AUTOTEXTLIST
AUTONUMOUT COMMENTS
BARCODE COMPARE
DATE CREATEDATE
EQ DATABASE
FORMCHECKBOX DOCPROPERTY
FORMDROPDOWN DOCVARIABLE
GOTOBUTTON EDITTIME
INCLUDEPICTURE FILENAME
INCLUDETEXT FILESIZE
LINK FILLIN
MACROBUTTON HYPERLINK
NOTEREF IF
PAGE INDEX
PAGEREF INFO
PRINT KEYWORD
PRINTDATE LASTSAVEDBY
PRIVATE LISTNUM
RD MERGEFIELD
SECTION MERGEREC
SECTIONPAGES MERGESEQ
SYMBOL NEXT
TA NEXTIF
TC NUMCHARS
TIME NUMPAGES
NUMWORDS
QUOTE
REF
REVNUM
SAVEDATE
SEQ
SET
SKIPIF
STYLEREF
SUBJECT
TEMPLATE
TITLE
TOA
TOC
USERADDRESS
USERINITIALS
USERNAME
REFERENCESFor additional information, click the article numbers below
to view the articles in the Microsoft Knowledge Base:
212623
(http://support.microsoft.com/kb/212623/EN-US/
)
WD2000: Macro Programming Resources
226118
(http://support.microsoft.com/kb/226118/EN-US/
)
OFF2000: Programming Resources for Visual Basic for Applications
| Article Translations
|
Back to the top
