DDEAppReturnCode Property Example
This example sets the variable appErrorCode to the DDE return code.
appErrorCode
appErrorCode = Application.DDEAppReturnCode