Number related procedures in class DataLabel (PowerPoint VBA)

This page presents procedures from class DataLabel related to the theme Number: NumberFormat, NumberFormatLinked, NumberFormatLocal, DataLabels.NumberFormat, DataLabels.NumberFormatLinked and DataLabels.NumberFormatLocal

NumberFormat

Returns or sets the format code for the object.

The format code is the same string as the Format Codes option in the Format Cells dialog box. The Format function uses different format code strings than do the NumberFormat and NumberFormatLocal properties.

ActiveWindow.RangeFromPoint.Chart.FullSeriesCollection(1).DataLabels.NumberFormat =

NumberFormatLinked

True if the number format is linked to the cells (so that the number format changes in the labels when it changes in the cells).

ActiveWindow.RangeFromPoint.Chart.FullSeriesCollection(1).DataLabels.NumberFormatLinked = True

NumberFormatLocal

Returns or sets the format code for the object as a string in the language of the user.

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

ActiveWindow.RangeFromPoint.Chart.FullSeriesCollection(1).DataLabels.NumberFormatLocal =

DataLabels.NumberFormat

Returns or sets the format code for the object.

The format code is the same string as the Format Codes option in the Format Cells dialog box. The Format function uses different format code strings than do the NumberFormat and NumberFormatLocal properties.

ActiveWindow.RangeFromPoint.Chart.FullSeriesCollection(1).DataLabels.NumberFormat =

DataLabels.NumberFormatLinked

True if the number format is linked to the cells (so that the number format changes in the labels when it changes in the cells).

ActiveWindow.RangeFromPoint.Chart.FullSeriesCollection(1).DataLabels.NumberFormatLinked = True

DataLabels.NumberFormatLocal

Returns or sets the format code for the object as a string in the language of the user.

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

ActiveWindow.RangeFromPoint.Chart.FullSeriesCollection(1).DataLabels.NumberFormatLocal =