全部显示

ControlFormat 对象

         
Shape
ControlFormat

包含 Microsoft Excel 控件属性。

ControlFormat 对象的的用法

可用 ControlFormat 属性返回一个 ControlFormat 对象。下例为第一张工作表的列表框控件设置填充区域。

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

如果指定图形不是控件,则 ControlFormat 属性失效;并且如果该控件不是列表框,则 ListFillRange 属性失效。