Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 908 Bytes

Excel.NumberFormat.md

File metadata and controls

33 lines (22 loc) · 908 Bytes
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
NumberFormat property (Excel Graph)
vbagr10.chm65729
vbagr10.chm65729
Excel.NumberFormat
0a8b652a-6c8d-d4bd-4e93-e62ca86e6053
04/12/2019
medium

NumberFormat property (Excel Graph)

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.

Syntax

expression.NumberFormat

expression Required. An expression that returns one of the above objects.

Example

This example sets the number format for the data labels for series one.

myChart.SeriesCollection(1).DataLabels.NumberFormat = "General"

[!includeSupport and feedback]