+ Reply to Thread
Results 1 to 1 of 1

Add one more criterion in Combo box.

Hybrid View

  1. #1
    Registered User
    Join Date
    07-28-2009
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    2

    Add one more criterion in Combo box.

    Please help me, the below code helps me to retrieve the information from a small database based on textbox2, Can you help me to add another criteria on combobox2 which will give me a list by lookup from column C then populate the information on userform

    for eg:

    case101 has 2 files namely A & B

    when i do the search on case101 the dropdown gives me the option to choose AorB and when I select A it populates the information on the userform.

    I have got this far but not able to populate through dropdown..

    I highly appreciate your kind help in advance

    Aji

    Private Sub CommandButton1_Click()
    row_number = 0
    Do
    DoEvents
    row_number = row_number + 1
    item_in_review = Sheets("Sheet1").Range("B" & row_number)
    If item_in_review = TextBox2.Text Then
    TextBox1.Text = Sheets("Sheet1").Range("D" & row_number)
    TextBox4.Text = Sheets("Sheet1").Range("E" & row_number)
    ComboBox1.Text = Sheets("Sheet1").Range("F" & row_number)
    TextBox3.Text = Sheets("Sheet1").Range("G" & row_number)
    
    
    Loop Until item_in_review = ""
    
    End Sub
    Moderator Note:

    Pls use code tags around your code next time as per forum rules.
    Last edited by Fotis1991; 10-16-2013 at 06:04 AM. Reason: Pls use corrct titles for your threads according forum rules.

+ 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