Error Checking in Excel
Thanks Thanks:  0
Likes Likes:  0
Results 1 to 2 of 2

Thread: Option button test question

  1. #1
    Board Regular
    Join Date
    Feb 2002
    Location
    Stockton, California
    Posts
    281
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Hi everyone, I was given the following code to test a check box created from the "Forms" tools in a worksheet:

    If ActiveSheet.Shapes("BUTTON_NAME").ControlFormat.Value = Checked Then MSG ("BLEH")

    it works fine, but my question is, can i do the same thing with an option box? I'm trying to spit a message out when one of 3 option buttons is checked.

    I tried naming one of the option buttons "BUTTON_NAME", but it doesnt trigger like a check box does.

    thanks

  2. #2
    Board Regular
    Join Date
    Feb 2002
    Location
    Stockton, California
    Posts
    281
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Nevermind, it does work, i made a mistake, heh

Some videos you may like

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

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