WorksheetFunction.Ln method (Excel)

Returns the natural logarithm of a number. Natural logarithms are based on the constant e (2.71828182845904).


expression.Ln (Arg1)

expression A variable that represents a WorksheetFunction object.


Name Required/Optional Data type Description
Arg1 Required Double Number - the positive real number for which you want the natural logarithm.

Return value



Ln is the inverse of the EXP function.

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.