In vba the log base is defined as e. In Excel you can choose the log base for any number i.e. LOG (number;base)
You should be able to select log base in vba using
Untested as I'm using my Android to post this.![]()
Application.WorksheetFunction.Log(number, base)
Alf
Bookmarks