This topic has not yet been rated - Rate this topic

Walls Object (PowerPoint)

Published: July 16, 2012

Represents the walls of a 3-D chart.

Version Added: PowerPoint 2007

This object is not a collection. There is no object that represents a single wall; you must return all the walls as a unit.

Note Note

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

Use the Walls property to return the Walls object. The following example sets the pattern on the walls for the first chart in the active document. If the chart is not a 3-D chart, this example will fail.

With ActiveDocument.InlineShapes(1)

    If .HasChart Then

        .Chart.Walls.Interior.Pattern = xlGray75

    End If

End With

Community Additions

© 2014 Microsoft. All rights reserved.