创建一组选项按钮控件Create a Set of OptionButton Controls

默认情况下,容器中的所有选项按钮控件都是单个选项组的一部分。By default, all OptionButtoncontrols in a container are part of a single option group. 这意味着,选择其中一个按钮会自动将窗体中的所有其他选项按钮设置为 FalseThis means that selecting one of the buttons automatically sets all other option buttons on the form to False.

如果希望窗体中包含多个选项组,可通过两种方法创建其他组:If you want more than one option group on the form, there are two ways to create additional groups:

支持和反馈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.