KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q196953: WD97: How to Use Form Data as Mail Merge Data Source

Article: Q196953
Product(s): Word 97 for Windows
Version(s): WINDOWS:97
Operating System(s): 
Keyword(s): kbdta kbmacroexample kbwordvba word97 kbmerge
Last Modified: 14-NOV-2000

-------------------------------------------------------------------------------
The information in this article applies to:

- Microsoft Word 97 for Windows 
-------------------------------------------------------------------------------


SUMMARY
=======

This article describes how you can use data from a Word form as the data source
for a mail merge operation.

NOTE: You cannot use a protected form document as a mail merge main document. In
fact, the Mail Merge command on the Tools menu is unavailable when a protected
form is the active document.

Using Form Data as Mail Merge Data Source
-----------------------------------------

In a protected form, you can save the data only, in comma-delimited text-file
format. You can use this text file as a data document in a Word mail merge, or
you can add it to an existing data document. To save only the data, do the
following:

1. On the Tools menu, click Options.

2. Click the Save tab.

3. Click to select the "Save Data Only for Forms" check box, and then click OK.

4. Fill out your protected form.

5. On the File menu, click Save Copy As. Word proposes the same name as your
  form document, with a .txt extension. Word automatically selects Text Only in
  the "Save As Type box". Type a new file name or click Save to accept the
  default name.

Additional query words: formfield form field setup export

======================================================================
Keywords          : kbdta kbmacroexample kbwordvba word97 kbmerge 
Technology        : kbWordSearch kbWord97 kbWord97Search kbZNotKeyword2
Version           : WINDOWS:97
Issue type        : kbhowto

=============================================================================

THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Copyright Microsoft Corporation 1986-2002.