Rediger

Del via


WorksheetFunction.ImLn method (Excel)

Returns the natural logarithm of a complex number in x + yi or x + yj text format.

Syntax

expression.ImLn (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 natural logarithm.

Return value

String

Remarks

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

The natural logarithm of a complex number is   Screenshot of the natural logarithm of a complex number formula.   where   Screenshot of the theta value 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.