+ Reply to Thread
Results 1 to 4 of 4

UserForm Radio Multiple Selections to run?

  1. #1
    Forum Contributor
    Join Date
    09-07-2010
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    358

    UserForm Radio Multiple Selections to run?

    Please Login or Register  to view this content.

    Please Login or Register  to view this content.

    I have no idea how to make the OK Button check what checkboxs are selected and if they are selected to run the case associated...
    Last edited by Hyflex; 10-07-2011 at 09:22 AM.

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2502
    Posts
    27,023

    Re: UserForm Radio Multiple Selections to run?

    You have only provided a fragment of you overall problem; I have no idea what you mean by "run the case associated." But maybe this is enough to help:
    Please Login or Register  to view this content.
    I am concerned about a couple of things here. First, your thread title refers to radio buttons but your code refers to check boxes. If you really are using check boxes instead of option buttons (radio buttons), your Tag variable will only capture the last box checked, but any or all of them could be checked. So it's really unclear what you are trying to do.
    Last edited by 6StringJazzer; 10-07-2011 at 10:30 AM. Reason: removed unintended quote fragment
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Forum Contributor
    Join Date
    09-07-2010
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    358

    Re: UserForm Radio Multiple Selections to run?

    Thanks for your reply.

    You solved the problem first go, basically I was trying to make one button do everything so once i had selected several check boxs it would run all 3 if I clicked "Ok". I put "radio" by accident, It was supposed to be checkbox.

    Thank you very much, I was trying If commands in the actual module didn't think of putting them within the form.

  4. #4
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2502
    Posts
    27,023

    Re: UserForm Radio Multiple Selections to run?

    To sum up, if you want something to happen upon clicking OK, you have to put that code in the Ok_Click Sub.

+ 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