Class Floor (Word VBA)

The class Floor represents the floor of a 3D chart.


To use a Floor class variable it first needs to be instantiated, for example

Dim flr as Floor
Set flr = ActiveDocument.Background.Chart.Floor

Floor class variables can be set using the Chart.Floor procedure.


Clears the formatting of the object.



Returns the line, fill, and effect formatting for the object.

Dim cftFormatted As ChartFormat
Set cftFormatted = ActiveDocument.Background.Chart.Floor.Format


Returns the name of the object.

Dim strName As String
strName = ActiveDocument.Background.Chart.Floor.Name


Returns the parent for the specified object. Read-only object.

Dim objParent As Object
Set objParent = ActiveDocument.Background.Chart.Floor.Parent


Pastes a picture from the Clipboard on the floor of the specified chart.

You can use this method on column, bar, line, or radar charts.



Returns or sets a value that specifies how pictures are displayed on the walls and faces of a 3D chart.

Possible Values are xlStack - The picture is sized to repeat a maximum of 15 times in the longest stacked bar, xlStackScale - The picture is sized to a specified number of units and repeated the length of the bar, xlStretch - The picture is stretched the full length of the stacked bar.

You can set this property to one of the following XlChartPictureType constants: xlStack or xlStretch.

ActiveDocument.Background.Chart.Floor.PictureType = xlStack


Selects the object.



Returns or sets the thickness of the floor.

Use this property to set the thickness of the floor. The default thickness is zero (0).

ActiveDocument.Background.Chart.Floor.Thickness =