Syntax

expression.NumberFormatLocal

expression A variable that represents a Range object.

Remarks

The Format function uses different format code strings than do the and NumberFormatLocal properties.

Example

This example displays the number format for cell A1 on Sheet1 in the language of the user.

Visual Basic for Applications
MsgBox "The number format for cell A1 is " & _ Worksheets("Sheet1").Range("A1").NumberFormatLocal

See also: