Partager via


Shape.FormControlType Property

Returns the Microsoft Excel control type. Read-only XlFormControl.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
ReadOnly Property FormControlType As XlFormControl
    Get
'Usage
Dim instance As Shape
Dim value As XlFormControl

value = instance.FormControlType
XlFormControl FormControlType { get; }

Property Value

Type: Microsoft.Office.Interop.Excel.XlFormControl

Remarks

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

See Also

Reference

Shape Interface

Shape Members

Microsoft.Office.Interop.Excel Namespace