Skip to content

Latest commit

 

History

History
57 lines (30 loc) · 1.02 KB

PowerPoint.Chart.BarShape.md

File metadata and controls

57 lines (30 loc) · 1.02 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Chart.BarShape property (PowerPoint)
vbapp10.chm684005
vbapp10.chm684005
PowerPoint.Chart.BarShape
fae46b36-9d4c-3646-db91-95691d8ce2af
06/08/2017
medium

Chart.BarShape property (PowerPoint)

Returns or sets the shape used for every series in a 3D bar or column chart. Read/write XlBarShape.

Syntax

expression.BarShape

expression A variable that represents a Chart object.

Example

Note

Although the following code applies to Microsoft Word, you can readily modify it to apply to PowerPoint.

The following example sets the shape used with the first series of the first chart in the active document.

With ActiveDocument.InlineShapes(1)

    If .HasChart Then

        .Chart.BarShape = xlConeToPoint

    End If

End With

See also

Chart Object

[!includeSupport and feedback]