ControlFormat object (Excel)

Contains Microsoft Excel control properties.

Example

Use the ControlFormat property of the Shape object to return a ControlFormat object. The following example sets the fill range for a list box control on worksheet one.

Note

If the shape isn't a control, the ControlFormat property fails; and if the control isn't a list box, the ListFillRange property fails.

Worksheets(1).Shapes(1).ControlFormat.ListFillRange = "A1:A10"

Methods

Properties

See also

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.