Application.DDEAppReturnCode property (Excel)

Returns the application-specific DDE return code that was contained in the last DDE acknowledge message received by Microsoft Excel. Read-only Long.



expression A variable that represents an Application object.


This example sets the variable appErrorCode to the DDE return code.

appErrorCode = Application.DDEAppReturnCode

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.