Skip to content

Latest commit

 

History

History
48 lines (28 loc) · 1015 Bytes

Project.chart.displayblanksas.md

File metadata and controls

48 lines (28 loc) · 1015 Bytes
title ms.service ms.assetid ms.date ms.localizationpriority
Chart.DisplayBlanksAs property (Project)
project-server
241fcca1-b736-799f-9f53-17751622e1e6
06/08/2017
medium

Chart.DisplayBlanksAs property (Project)

Gets or sets the way that blank cells are plotted on a chart. Can be one of the Office.XlDisplayBlanksAs constants. Read/write Long.

Syntax

expression.DisplayBlanksAs

expression A variable that represents a Chart object.

Example

The following example hides blank cells in the chart.

Sub HideBlankCells()
    Dim chartShape As Shape
    Dim reportName As String
    
    reportName = "Simple scalar chart"
    Set chartShape = ActiveProject.Reports(reportName).Shapes(1)
    
    chartShape.Chart.DisplayBlanksAs = Office.XlDisplayBlanksAs.xlNotPlotted
End Sub

Property value

XLDISPLAYBLANKSAS

See also

Chart Object

[!includeSupport and feedback]