Results 1 to 9 of 9

Thread: If Then...help[resolved]

Threaded View

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 2003
    Location
    Dallas, TX
    Posts
    70

    Arrow If Then...help[resolved]

    Ok, I want to add 12 to all numbers from 1 To 11 that added to the combobox.
    I can only do it one at a time like this....

    VB Code:
    1. If cboHours2.Text = 5 Then
    2.    Dim intNumber As Integer
    3.    MsgBox Val(cboHours2.Text) + 12
    4.    End If
    There has to be a way to do it with one If..Then Statement.

    please help

    Last edited by notSOMLS1; Jan 22nd, 2003 at 06:19 PM.

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