I\'m trying to get the log of a number but it looks like the Worksheet function gives one answer, and VBA another.
In VB, using Log(Range(\"A2\")) where
Log(Range(\"A2\"))
VBA's Log function is the natural log. If you want log base ten you will have to use the logarithmic identity for converting bases. Like so: Log(x)/Log(10).
Log
Log(x)/Log(10)