If option button not selected

  • Thread starter Thread starter Hywel
  • Start date Start date
H

Hywel

How do I get a warning message to appear if one of two option buttons
within a frame are not selected?

I have tried with optionbutton.value = True but I can't get this to
work.
Many thanks,
Hywel
Manchester UK
 
With ActiveSheet
If Not .OptionButtons("Option Button 1").Value And _
Not .OptionButtons("Option Button 2") Then
MsgBox "None set"
End If
End With


--

HTH

RP
(remove nothere from the email address if mailing direct)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top