Walls Object

Word Developer Reference

Represents the walls of a 3-D chart.

Version Information
 Version Added:  Word 2007

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

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

See Also