Share via


ThreeDFormat.PresetMaterial Property

Excel Developer Reference

Returns or sets the extrusion surface material. Read/write MsoPresetMaterial.

Syntax

expression.PresetMaterial

expression   A variable that represents a ThreeDFormat object.

Remarks

MsoPresetMaterial can be one of these MsoPresetMaterial constants.
msoMaterialMatte
msoMaterialMetal
msoMaterialPlastic
msoMaterialWireFrame
msoPresetMaterialMixed

Example

This example specifies that the extrusion surface for shape one in myDocument be wire frame.

Visual Basic for Applications
  Set myDocument = Worksheets(1)
With myDocument.Shapes(1).ThreeD
    .Visible = True
    .PresetMaterial = msoMaterialWireFrame
End With

See Also