PRB: DDE with Word 97 Returns 'Ambiguous Name Detected: TmpDDE'Last reviewed: December 26, 1997Article ID: Q174966 |
The information in this article applies to:
SYMPTOMSWhen using the DDEExecute() function to send a WordBasic command to Word 97 from FoxPro, Visual Basic for Applications returns the following error message:
Ambiguous Name Detected: TmpDDE CAUSEThis message is returned by Visual Basic for Applications when the Word Global Template (Normal.dot) contains a macro named TmpDDE, and an attempt is made to execute a Word command using the FoxPro DDEExecute( ) function.
RESOLUTIONThis problem may be resolved by any of the following methods:
STATUSThis behavior is by design.
MORE INFORMATIONWhen DDEExecute(nChannel,"[WordCommand]") is used to pass a command to Word 97, Word 97 attempts to create a new TmpDDE macro in the Global Template (Normal.dot) file. The TmpDDE macro is released after the Word Command passed by DDEExecute() is executed. Word 97 is unable to create the TmpDDE macro if the Global Template (Normal.dot) contains an existing macro of the same name. This behavior is not observed when macros with names other than TmpDDE are present in the Global Template (Normal.dot) file
Steps to Reproduce Behavior
REFERENCESFor additional information, please see the following article in the Microsoft Knowledge Base:
ARTICLE-ID: Q165860 TITLE : OFF97 Err Msg: "Ambiguous Name Detected" Appears When Faxing |
Additional query words: OFF97 WORD97 DDE
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |