title | keywords | f1_keywords | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|
NumberFormat property (Excel Graph) |
vbagr10.chm65729 |
|
|
0a8b652a-6c8d-d4bd-4e93-e62ca86e6053 |
04/12/2019 |
medium |
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 String for all objects, except for the Range object, which is read/write Variant.
expression.NumberFormat
expression Required. An expression that returns one of the above objects.
This example sets the number format for the data labels for series one.
myChart.SeriesCollection(1).DataLabels.NumberFormat = "General"
[!includeSupport and feedback]