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:
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:
-or- 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: Q165860 OFF97 Err Msg: "Ambiguous Name Detected" Appears When Faxing Additional query words: OFF97 WORD97 DDE
Keywords : kberrmsg kbVFp kbVFp300 kbVFp300b kbVFp500 kbVFp500a kbVFp600 FoxWin FxinteropDde FxinteropWinword |
Last Reviewed: December 13, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |