ThreeDFormat.PresetMaterial Property (Excel)

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.

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

See Also

Concepts

ThreeDFormat Object Members

ThreeDFormat Object