Log

 

Log(num)

 

Returns the natural log of a number

The parameter num must be greater than zero and be a valid number.

 

Related Topics: Exp, Sin, Cos

 

Example:

             

              Sub Form_Click ( )

              Dim I, Msg, NL            

              NL = Chr(13) & Chr(10)

              Msg = Exp(1) & NL

              For I = 1 to 3

              Msg = Msg & Log(Exp(1) ^ I ) & NL

              Next I

              MsgBox Msg

          End Sub