WorksheetFunction.Ln (Excel)

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

Ln is the inverse of the EXP function.

Ln (Arg1)

Arg1: Number - the positive real number for which you want the natural logarithm.


Dim dblArg1 As Double: dblArg1 = 
Dim dblLn As Double
dblLn = WorksheetFunction.Ln(Arg1:=dblArg1)