Hi all,
I have countless option buttons in a sheet that are always grouped in pairs of two. The option buttons simply pass a value multiplied by the factor from A1 to another cell. Everything works like this... However, when I change the factor in A1, the corresponding value in E231 is not changed automatically. For that, I would first have to click the other button and then the original one again.
The following code of two related option buttons:
Private Sub OptionButton83_Click()
Range("E231").Value = Range("F231").Value * Range("A1").Value
End Sub
Private Sub OptionButton84_Click()
Range("E231").Value = Range("G231").Value * Range("A1").Value
End Sub
Can someone please help me how to automate the Option Buttons in this respect, because there are too many option buttons to keep re-clicking them?
Any help would be greatly appreciated.
I have countless option buttons in a sheet that are always grouped in pairs of two. The option buttons simply pass a value multiplied by the factor from A1 to another cell. Everything works like this... However, when I change the factor in A1, the corresponding value in E231 is not changed automatically. For that, I would first have to click the other button and then the original one again.
The following code of two related option buttons:
Private Sub OptionButton83_Click()
Range("E231").Value = Range("F231").Value * Range("A1").Value
End Sub
Private Sub OptionButton84_Click()
Range("E231").Value = Range("G231").Value * Range("A1").Value
End Sub
Can someone please help me how to automate the Option Buttons in this respect, because there are too many option buttons to keep re-clicking them?
Any help would be greatly appreciated.