+ Reply to Thread
Results 1 to 3 of 3

If option button not selected

  1. #1
    Registered User
    Join Date
    09-29-2004
    Posts
    39

    If option button not selected

    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

  2. #2
    Bob Phillips
    Guest

    Re: If option button not selected

    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)


    "Hywel" <[email protected]> wrote in
    message news:[email protected]...
    >
    > 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
    >
    >
    > --
    > Hywel
    > ------------------------------------------------------------------------
    > Hywel's Profile:

    http://www.excelforum.com/member.php...o&userid=14824
    > View this thread: http://www.excelforum.com/showthread...hreadid=482809
    >




  3. #3
    Registered User
    Join Date
    09-29-2004
    Posts
    39
    Thanks very much, Bob.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1