Results 1 to 5 of 5

Thread: Combo Box {RESOLVED}

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    May 2005
    Posts
    262

    Combo Box {RESOLVED}

    I want to set a value to flgElim 0 or 1 depends on which item is selected in the combo box, cmbElim

    VB Code:
    1. Option Explicit
    2. Public flgElim As Boolean
    3.  
    4. Private Sub cmbElim_Change()
    5.  
    6. If cmbElim.ListIndex = "0" Then
    7. flgElim = "0"
    8. ElseIf cmbElim.ListIndex = "1" Then
    9. flgElim = "1"
    10. End If
    11.  
    12.  
    13. End Sub

    This is what I have now and it doesn't work.. I've also tried using cmbElim.Index but I dunno what else to try
    Last edited by ooOOJaVaOOoo; Jun 3rd, 2005 at 02:00 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