WorksheetFunction.Base Method (Excel)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

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

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

Show: