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 COMPLEX to convert real and imaginary coefficients into a complex number.

  • The difference of two complex numbers is: Formula

See also

WorksheetFunction Object