Microsoft KB Archive/67728

Word: Using INCLUDE Statement in a Document with Left Chevron

PSS ID Number: Q67728 Article last modified on 11-02-1994

1.00 2.00 3.00 4.00 5.00 5.50 6.00

MS-DOS

= SUMMARY =

When using an INCLUDE statement with Microsoft Word and a document that contains a left chevron character (<<) that is intended for printing (that is, the chevron is not part of a print merge instruction), the print merge will not work correctly.

For example, if the “main” document contains the instruction <> (where < > are left and right chevrons) and the text of FILENAME.DOC contains a left chevron character, an error will occur or the output will not be as expected when the print merge is performed. If FILENAME.DOC contains a right chevron character, the character will print normally if it is not preceded by a left chevron.

Microsoft has confirmed this to be a problem in Word versions 1.x, 2.x, 3.x, 4.x, 5.00, and 5.50. We are researching this problem and will post new information in the Microsoft Knowledge Base as it becomes available.

= MORE INFORMATION =

If FILENAME.DOC contains a left chevron character that is intended for printing, a possible workaround is to change FILENAME.DOC so that it acts as the main document for a secondary print merge.

  Create a new file called CHEVRON.DAT that contains the following text: chev <<   Save CHEVRON.DAT.   Load FILENAME.DOC. On the first line, insert the following text: <>   Replace every occurrence of the left chevron character in FILENAME.DOC with the following: < > (Choose Replace to change all occurrences quickly.)   Save the changes to FILENAME.DOC.   Load the “main” document, the document that contains the <> instruction, and perform the print merge. </ol>

KBCategory: kbother KBSubcategory: kbmerge Additional reference words: include statement ============================================================================= Copyright Microsoft Corporation 1994.