WorksheetFunction.NumberValue 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 text to number in a locale-independent manner.

expression .NumberValue(Arg1,Arg2,Arg3)

expression A variable that represents a WorksheetFunction Object (Excel) object.

Parameters

Name

Required/Optional

Data type

Description

Arg1

Required

STRING

String representing the number you want to convert.

Arg2

Required

STRING

Character used as the decimal separator in the string.

Arg3

Required

STRING

Character used as the group separator in the string.

Return value

DOUBLE

Show: