Walls object (Word)

Represents the walls of a 3D chart.

Remarks

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

Example

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 3D chart, this example will fail.

With ActiveDocument.InlineShapes(1) 
 If .HasChart Then 
 .Chart.Walls.Interior.Pattern = xlGray75 
 End If 
End With

See also

Word Object Model Reference

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.