I refer to this every so often so for those that want to see how to use my simple com visible DLL, see the readme.txt file in the zip file or for quick reference:
' Set Reference by Tools > References > Math Library by Kenneth Hobson > OK Sub Test_MathLib()
Dim mlm As MathLib.Multiply, mld As MathLib.Division
Set mlm = New MathLib.Multiply
Set mld = New MathLib.Division
MsgBox mlm.MultiplyBy2(7), vbInformation, "7*2=?"
MsgBox mld.DivideBy2(14), vbInformation, "14/2=?"
set mlm = Nothing
set mld = Nothing
End Sub