我怎样才能拥有与一个单元格相关的几个 activeX(单选按钮)?

How can I have couple of activeX (Radio Button) related to one cell?

我可以有三个 "ActiveX"s(单选按钮)与一个单元格相关吗 三个不同的值

(exp.: "1" or "2" or "3") 就像表单控件中有三个 radio_buttons 的组选项?

如有任何想法,我们将不胜感激 :)

希望这就是您要找的

将 3 个 ActiveX 单选按钮插入 sheet,确保您处于设计模式,右键单击其中一个单选按钮,单击 'OptionButton Object',然后单击 'Edit'。

从那里粘贴以下代码:

Private Sub OptionButton1_Click()
Range("A1").Value = 1
End Sub

Private Sub OptionButton2_Click()
Range("A1").Value = 2
End Sub

Private Sub OptionButton3_Click()
Range("A1").Value = 3
End Sub