Share via


WorksheetFunction.Imaginary Method

Excel Developer Reference

Returns the imaginary coefficient of a complex number in x + yi or x + yj text format.

Syntax

expression.Imaginary(Arg1)

expression   A variable that represents a WorksheetFunction object.

Parameters

Name Required/Optional Data Type Description
Arg1 Required Variant Inumber - a complex number for which you want the imaginary coefficient.

Return Value
Double

Remarks

  • Use COMPLEX to convert real and imaginary coefficients into a complex number.

See Also