Chart.Walls property (Project)

Gets an Office.IMsoWalls object that represents the walls of a 3D chart. Read-only IMsoWalls.

Syntax

expression.Walls

expression A variable that represents a Chart object.

Parameters

Name Required/Optional Data type Description
fBackWall Optional Boolean Default value = True. The fBackWall parameter has no effect in Project.

Example

The following example sets the wall borders of the 3D chart to a red line that is three points wide.

Sub FormatWalls()
    Dim chartShape As Shape
    Dim reportName As String
    
    reportName = "Simple 3D chart"
    Set chartShape = ActiveProject.Reports(reportName).Shapes(1)
    
    With chartShape.Chart.Walls.Border
        .Weight = 3
        .Color = &HFF
    End With
End Sub

Property value

IMSOWALLS

See also

Chart Object

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.