WorksheetFunction.ImSub method (Excel)

Returns the difference of two complex numbers in x + yi or x + yj text format.

Syntax

expression.ImSub (Arg1, Arg2)

expression A variable that represents a WorksheetFunction object.

Parameters

Name Required/Optional Data type Description
Arg1 Required Variant Inumber1 - the complex number from which to subtract inumber2.
Arg2 Required Variant Inumber2 - the complex number to subtract from inumber1.

Return value

String

Remarks

Use the Complex method to convert real and imaginary coefficients into a complex number.

The difference of two complex numbers is   Formula

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.