Not too sure what you really need but you can pass a cells formula, or result of via either of the 2 methods below;
To use the LN Function in VBA precede it with WorksheetFunction:VB:myVariable=Sheet1.Range("A1").formula 'OR myVariable=Sheet1.Range("A1")VB:WorksheetFunction.LN


Reply With Quote
Bookmarks