This documentation is archived and is not being maintained.

Walls Object (Word)

Represents the walls of a 3-D chart.

Version Added: Word 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.

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