WorksheetFunction.Base method (Excel)

Converts a number into a text representation with the given radix (base).

Syntax

expression.Base (Arg1, Arg2, Arg3)

expression A variable that represents a WorksheetFunction object.

Parameters

Name Required/Optional Data type Description
Arg1 Required Double The number that you want to convert.
Arg2 Required Double The base radix that you want to convert the number into.
Arg3 Optional Variant The minimum length of the returned string. If omitted, leading zeros are not added.

Return value

String

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.