1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
| Option Explicit
Private Sub ComboBox1_Change()
Debug.Print "change"
End Sub
Private Sub ComboBox1_Click()
Debug.Print "click"
End Sub
Private Sub ComboBox1_DropButtonClick()
'ComboBox1.TopIndex = ComboBox1.ListCount
End Sub
Private Sub ComboBox1_MouseUp(ByVal Button As Integer, ByVal Shift As Integer, ByVal X As Single, ByVal Y As Single)
ComboBox1.TopIndex = ComboBox1.ListCount
End Sub
Private Sub UserForm_Initialize()
Dim i&
For i = 1 To 250
ComboBox1.AddItem "liste " & i
Next i
End Sub |