Incorrect Results Printing Linked Object in Nested MergefieldLast reviewed: March 27, 1997Article ID: Q137075 |
6.00 6.00a 6.00c 7.00
WINDOWS
kbinterop
The information in this article applies to:
SYMPTOMSA linked Microsoft Excel worksheet looks fine in a Word main merge document, but it appears in the merged document as a box or as a box with an "x" in it.
CAUSEThis problem occurs when the Microsoft Excel worksheet is included as part of a conditional IF field.
WORKAROUNDRather than insert the Microsoft Excel information as an object, use the following procedure to link the information as either Formatted Text or Unformatted Text:
STATUSMicrosoft has confirmed this to be a problem in Microsoft Word versions 6.0, 6.0a, and 6.0c for Windows and Microsoft Word for Windows 95, version 7.0. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATIONIn the following example, if the Sales field contains a number greater than 100, Word prints a portion of the Commission sheet in the Sales.Xls file. If the Sales field is not greater than 100, Word prints the sentence "Try to sell more!"
{IF {MERGEFIELD Sales} > 100 "{LINK Excel.Sheet.1 "C:\\EXCEL\\SALES.XLS" "Commission!R1C1:R5C5" \a \p}" "Try to sell more!"}The Microsoft Excel object appears correctly when you view the main document and show a record in which Sales is greater than 100. But when you merge the document to a new document or merge to the printer, a box is printed where the Microsoft Excel object should have appeared.
|
KBCategory: kbinterop
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |