ShapeRange.Model3D property (Excel)
Returns a Model3DFormat object that contains Model3D properties. Read-only.
expression A variable that represents a ShapeRange object.
This example selects all shapes in worksheet one, and then disables the AutoFit property of all Model3D objects in the selection.
Set myDocument = Worksheets(1) myDocument.Shapes.SelectAll Selection.ShapeRange.Model3D.AutoFit = False
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.