WorksheetFunction.Decimal (Excel)
Converts a text representation of a number in a given base into a decimal number.
Decimal (Arg1, Arg2)
Dim strArg1 As String: strArg1 =
Dim dblArg2 As Double: dblArg2 =
Dim dblDecimal As Double
dblDecimal = WorksheetFunction.Decimal(Arg1:=strArg1, Arg2:=dblArg2)
Arguments
Arg1, Arg2Arg1 (String) - The number that you want to convert.
Arg2 (Double) - The base radix of the number that you are converting.