Syntax

expression.FormControlType

expression A variable that represents a Shape object.

Remarks

You cannot use this property with ActiveX controls (the property for the object must return msoFormControl).

Example

This example clears all the Microsoft Excel check boxes on worksheet one.

Visual Basic for Applications
For Each s In Worksheets(1).Shapes If s.Type = msoFormControl Then If s.FormControlType = xlCheckBox Then _ s.ControlFormat.Value = False End If Next
form form control type formcontrol formcontroltype formcontroltype property

See also: