WD: How Print Merge Fields Converted Between MacWord and WinWord

Last reviewed: February 2, 1998
Article ID: Q95193
The information in this article applies to:
  • Microsoft Word for Macintosh, versions 5.0 and 5.1
  • Microsoft Word for Windows, versions 1.0, 1.1, 1.1a
  • Microsoft Word for Windows, versions 2.0, 2.0a, 2.0a-cd, 2.0b, 2.0c
  • Microsoft Word for Windows, versions 6.0, 6.0a, 6.0c
  • Microsoft Word for Windows 95, versions 7.0, 7.0a
  • Microsoft Word 97 for Windows

SYMPTOMS

In Word for the Macintosh, documents that contain print merge fields may not be correctly converted to the Microsoft Word for Windows file format unless the following conditions exist:

  1. The Windows Win.ini file contains the following entry:

          [MacWordConv]
          ConvertMerge=yes
    

For more information on setting the ConvertMerge option in Word versions 6.0 and later, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q172498
   TITLE     : WD: Information About the EditConversionOptions Macro

  • The Word for the Macintosh document is saved in Normal format.

  • The Word for the Macintosh file converter is installed in Word for Windows.

    MORE INFORMATION

    Merge field information in a Word for Windows document can be viewed as follows:

    Word for Windows, versions 6.0, 7.0, and 97

    1. On the Tools menu, click Options.

    2. Select the View tab.

    3. Click to select the Field Codes check box, and click OK.

    Word for Windows 2.0

    On the View menu, click Field Codes.

    Word for Windows 1.x

    1. On the Edit menu, click Preferences.

    2. In the Preferences dialog box, select Field Codes.

    The following fields, commonly used in print merge main documents, convert successfully from Word for the Macintosh to Word for Windows file format:

       ASK
       SET
       NEXT
    
    

    Other Word for Windows Print Merge Considerations

    • You must use the Print Merge command to reattach the data document.

      Word 6.x, 7.x, 97: On the Tools menu, click Mail Merge, click Get Data and then select the data document in the Get Data dialog box.

      Word 1.x, 2.x: On the File menu, click Print Merge, click Attach Data File, and then select the data document from the list box.

    • You must modify IF-ENDIF statements for use in Word for Windows. For example, a Word for the Macintosh IF-ENDIF statement used to suppress blank lines converts to the following in Word for Windows:

            {if street "{ref street}
            "} {ref city}, {ref state}  {ref zip}
      

      To use the above field in Word for Windows, you must change it to the following:

            {if {address} <> "" "{address}
            "} {city}  {state}  {zip}
      
    • Since the main and data documents have been moved to a new machine, INCLUDE statements have to be redefined to have the proper path to documents you want to include in the merge.
    • In Word 6.x, 7.x, 97: Addition, multiplication and subtraction formulas used in fields, are converted to calculation fields.

      For example: {={mergefield fieldname}+10 \* Mergeformat}

    • Although Word for the Macintosh allows spaces in the field names, Word for Windows does not. Avoid spaces in field names of the main and data documents if you plan to convert them to Word for Windows. Also, when converting to Word for Windows, use field names that are 32 characters or fewer.

    REFERENCES

    "Microsoft Word User's Guide," version 5.0, pages 660-664.

    Keywords          : macword winword word7 word95 word8 word97 kbinterop kbualink97
    Version           : WINDOWS: 1.x, 2.x, 6.x, 7.x, 97; MACINTOSH 5.0, 5.1
    Platform          : MACINTOSH WINDOWS
    Issue type        : kbinfo

  • ================================================================================


    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.

    Last reviewed: February 2, 1998
    © 1998 Microsoft Corporation. All rights reserved. Terms of Use.