NewToProgramming
Technical User
Here is a little sample of the code I have tried so far to get it to work:
Please let me know what I am doing wrong. Make sure you have read my previous thread regarding what I am trying to do.
Private Sub lstDisposition_Click()
With Me
If lstDisposition.Selected(0) = True Then
lstDisposition.Enabled(1) = False
lstDisposition.Enabled(2) = False
lstDisposition.Enabled(3) = False
lstDisposition.Enabled(4) = False
Else
lstDisposition.Enabled(1) = True
lstDisposition.Enabled(2) = True
lstDisposition.Enabled(3) = True
lstDisposition.Enabled(4) = True
End If
End With
End Sub
Please let me know what I am doing wrong. Make sure you have read my previous thread regarding what I am trying to do.
Private Sub lstDisposition_Click()
With Me
If lstDisposition.Selected(0) = True Then
lstDisposition.Enabled(1) = False
lstDisposition.Enabled(2) = False
lstDisposition.Enabled(3) = False
lstDisposition.Enabled(4) = False
Else
lstDisposition.Enabled(1) = True
lstDisposition.Enabled(2) = True
lstDisposition.Enabled(3) = True
lstDisposition.Enabled(4) = True
End If
End With
End Sub