使用选项按钮或复选框创建列表框Create a list box with option buttons or check boxes

  1. 在 "属性" 窗口中, 选择 " ListStyle " 属性。In the Properties window, select the ListStyle property.

  2. 单击下拉箭头显示可用样式列表。Click the drop-down arrow to display a list of available styles.

  3. 从列表中选择 OptionFrom the list, choose Option.

ListStyle属性设置为Option时, 多**** 属性将决定复选框或选项按钮是否出现在列表中。When the ListStyle property is set to Option, the MultiSelect property determines whether check boxes or option buttons appear in the list.

MultiSelectSingle 时,在列表中显示选项按钮。When MultiSelect is Single, option buttons appear in the list. MultiSelectMultiExtended 时,在列表中显示复选框。When MultiSelect is Multi or Extended, check boxes appear in the list.

另请参阅See also

支持和反馈Support and feedback

有关于 Office VBA 或本文档的疑问或反馈?Have questions or feedback about Office VBA or this documentation? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.