WorksheetFunction.Ln Method (Excel)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

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.

Parameters

Name

Required/Optional

Data Type

Description

Arg1

Required

Double

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

Return Value

Double

LN is the inverse of the EXP function.

Show: