will1128
09-20-2010, 06:51 AM
Hi,
I have two radio buttons in a Word 2003, if one is selected I want it to gray out the other. However, if I want to be able to de-select the one I selected and get the current grayed out one active again. Is there a way to do this? So far I've figured out how to disable the radio button on a change, but not re-enable it.
Here's my attempt at the code:
Private Sub ChangeAddBtn_Click()
If ChangeAddBtn.Enabled = True Then
NewDNetSiteBtn.Enabled = False
OptionNew.Enabled = False
OptionNew1.Enabled = False
End If
End Sub
Thanks
I have two radio buttons in a Word 2003, if one is selected I want it to gray out the other. However, if I want to be able to de-select the one I selected and get the current grayed out one active again. Is there a way to do this? So far I've figured out how to disable the radio button on a change, but not re-enable it.
Here's my attempt at the code:
Private Sub ChangeAddBtn_Click()
If ChangeAddBtn.Enabled = True Then
NewDNetSiteBtn.Enabled = False
OptionNew.Enabled = False
OptionNew1.Enabled = False
End If
End Sub
Thanks