P
Patrick C. Simonds
On my UserForm is TextBox1, which if a user makes a change to the TextBox I
want the value of some OptionButtons set to false. That in its self is easy
enough, using the TextBox1_Change routine below. My problem is that during
UserForm Initialization TextBox1 is populated with the following code:
TextBox1.Value = rng(1, 7).Text
Unfortunately the TextBox1_Change routine sees that as a change and sets
all OptionButtons to False. Any suggestions?
Private Sub TextBox1_Change()
Me.TextBox1 = UCase(Me.TextBox1.Text)
OptionButton1.Value = False
OptionButton2.Value = False
OptionButton3.Value = False
OptionButton4.Value = False
OptionButton5.Value = False
OptionButton6.Value = False
End Sub
want the value of some OptionButtons set to false. That in its self is easy
enough, using the TextBox1_Change routine below. My problem is that during
UserForm Initialization TextBox1 is populated with the following code:
TextBox1.Value = rng(1, 7).Text
Unfortunately the TextBox1_Change routine sees that as a change and sets
all OptionButtons to False. Any suggestions?
Private Sub TextBox1_Change()
Me.TextBox1 = UCase(Me.TextBox1.Text)
OptionButton1.Value = False
OptionButton2.Value = False
OptionButton3.Value = False
OptionButton4.Value = False
OptionButton5.Value = False
OptionButton6.Value = False
End Sub