title | keywords | f1_keywords | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|
Shape.ControlFormat property (Excel) |
vbaxl10.chm636128 |
|
|
e874098f-ea8c-93ff-f746-a0d568bec5b5 |
05/14/2019 |
medium |
Returns a ControlFormat object that contains Microsoft Excel control properties. Read-only.
expression.ControlFormat
expression A variable that represents a Shape object.
This example removes the selected item from a list box. If Shapes(2)
doesn't represent a list box, this example fails.
Set lbcf = Worksheets(1).Shapes(2).ControlFormat
lbcf.RemoveItem lbcf.ListIndex
[!includeSupport and feedback]