The information in this article applies to:
SYMPTOMSIf you manually create a macro to perform a mail merge to create envelopes and omit the .LabelAutoText argument from the ToolsCreateEnvelope statement, you will receive the following error message:
CAUSE
When you record the macro to perform the merge steps, the macro will
automatically include this argument. However, if you manually create the
macro and do not include this argument or if you edit the macro and remove
it, then Word will generate the error message.
.LabelAutoText = <text>where <text> is the name of an AutoText entry in which the address fields for a data source are stored (for example, .LabelAutoText = Sales). WORKAROUNDEdit the macro to include the .LabelAutoText argument. MORE INFORMATIONThe .LabelAutoText argument is not documented in the Word Developer's Kit, first edition, but is referred to in online Help. To locate this information, choose Contents from the Help menu, select Programming with Microsoft Word, choose Statements And Functions Index, and select ToolsCreateEnvelope. .LabelAutoText argument was added to the Word Developer's Kit, second edition, page 749. Additional query words: wordbasic LabelAutoText undocumented command failed merge envelope
Keywords : kbmacro winword macword word6 word7 word95 |
Last Reviewed: January 7, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |