DDEAppReturnCode Property [Excel 2003 VBA Language Reference]
Office 2003
Returns the application-specific DDE return code that was contained in the last DDE acknowledge message received by Microsoft Excel. Read-only Long.
Example
This example sets the variable appErrorCode to the DDE return code.
appErrorCode = Application.DDEAppReturnCode
Applies to | Application Object