Chart.Floor property (Project)

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

Syntax

expression.Floor

expression A variable that represents a Chart object.

Remarks

The Floor property fails on 2D charts.

Example

The following example sets the floor color of the chart to blue. The example should be run on a 3D chart.

Sub SetFloorColor()
    Dim chartShape As Shape
    Dim reportName As String
    
    reportName = "Simple 3D chart"
    Set chartShape = ActiveProject.Reports(reportName).Shapes(1)
    
    chartShape.Chart.Floor.Interior.ColorIndex = 5
End Sub

Property value

IMSOFLOOR

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.