Results 1 to 3 of 3

Thread: help! multiple if conditions?

  1. #1

    Thread Starter
    Junior Member
    Join Date
    May 2005
    Posts
    23

    help! multiple if conditions?

    ok... I want my program to check all "Checkboxes" - which it can do... but I want it to check throughout the program (i used a timer) to see if ALL the checkboxes are checked. However, I am not too sure about how I would basically say:

    If check1, check2 AND check3.value = true then
    msgbox ....
    end if...

    please help

  2. #2
    Super Moderator manavo11's Avatar
    Join Date
    Nov 2002
    Location
    Around the corner from si_the_geek
    Posts
    7,171

    Re: help! multiple if conditions?

    I moved your thread from the Project Communications forum to Classic VB.

    Try this :

    VB Code:
    1. If Check1.Value = vbChecked And Check2.Value = vbChecked And Check3.Value = vbChecked Then
    2.         MsgBox "All checkboxes are checked"
    3.     End If


    Has someone helped you? Then you can Rate their helpful post.

  3. #3
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: help! multiple if conditions?

    So not only is he/she spamming, they are cross posting too:

    http://www.vbforums.com/showthread.php?t=344111

Posting Permissions

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



Click Here to Expand Forum to Full Width