Results 1 to 3 of 3

Thread: Please Help :)

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jan 2003
    Posts
    154

    Please Help :)

    VB Code:
    1. Dim C As Integer
    2. For C = 0 To Combo2.ListCount - 1 & Combo1.ListCount - 1
    3. List1.AddItem Combo2.List(C) & Combo1.List(C)
    4. Next C
    I have this in my command button.What I want to do is add everything in Combo2 and Combo1 right after it to List 1.SO I add Combo2 to List 1 and after it it adds the lsit from COmbo1.SO whats wrong with this code?Well thx guys

  2. #2
    Lively Member
    Join Date
    Mar 2002
    Posts
    96
    Dim C As Integer
    For C = 0 To Combo2.ListCount - 1
    List1.AddItem Combo2.List(C)
    Next C

    For C = 0 To Combo1.ListCount - 1
    List1.AddItem Combo1.List(C)
    Next C

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Jan 2003
    Posts
    154
    Ok no I want it like COmbo 1 and then right afetr it not undeaneath Combo 2.
    Like say Hey was in combo1 and bye is in combo 2 I want it to say heybye in List1.Thx guys

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