NumberFormatLocal property (Excel Graph)

Returns or sets the format code for the specified object as a string in the language of the user. Read/write Variant.

Syntax

expression.NumberFormatLocal

expression Required. An expression that returns one of the objects in the Applies To list.

Remarks

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

Example

This example displays the number format for the data labels in the first series on the chart in the language of the user.

MsgBox "The number format for the first series is " & _ 
 myChart.SeriesCollection(1).DataLabels.NumberFormatLocal

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.