Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am trying to use the Ln (natural log) function in a cell formula produced
by VBA. The compiler tells me that the Ln function is not defined. Below is my code. Any suggestions? If EarlyTrendType = "Logarithmic" Then Cell.Value = ActiveSheet.Range(L1).Value * Ln(Cell.Offset(0, -2).Value) + _ ActiveSheet.Range(L2).Value End If Note that L1 & L2 are the cell address' for the regression coefficients produced by Linest(). |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Formula with natural English language | Excel Worksheet Functions | |||
Need to set up a chart for BTU usage on Natural gas and Electric | Excel Worksheet Functions | |||
Finding the Natural Log ln(#) | Excel Discussion (Misc queries) | |||
how do i use excel's natural log function with negative numbers? | Excel Worksheet Functions | |||
Natural Logarithm in Microsoft Query | Excel Programming |