共用方式為


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.

Syntax

expression .DDEAppReturnCode

expression A variable that represents an Application object.

Example

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

appErrorCode = Application.DDEAppReturnCode

請參閱

概念

Application Object Members

Application Object