Consulting

Results 1 to 2 of 2

Thread: Solved: Formatting a Multi-Conditional If,Then Statement

  1. #1
    VBAX Contributor
    Joined
    Aug 2011
    Posts
    126
    Location

    Solved: Formatting a Multi-Conditional If,Then Statement

    I've got two Textboxes in a Userform.
    In event that one returns a nullstring a msgbox opens.

    How may I format the code below so that in the event both return the assigned values a different msgbox would appear?

    [vba]
    If (TextBox10.Value = 1) & (TextBox11.Value = NullString) Then
    [/vba]

  2. #2
    VBAX Contributor
    Joined
    Aug 2011
    Posts
    126
    Location
    Once Again.... I got the cart ahead of the horse...

    "AND" cured it all....

Posting Permissions

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