NumberFormat Property
Applies To
DataLabel object, DataLabels collection object, Range object, TickLabels object.
Description
Returns or sets the format code for the object. Returns Null if the cells in the specified range don't all have the same number format. Read/write Variant for the Range object; read/write String for all other objects.
Example
This example sets the number format for the data labels for series one.
myChart.SeriesCollection(1).DataLabels.NumberFormat = "General"