Problem mit Anwahl Listindex
02.04.2005 09:52:35
Basti
ich hätte gern in Listbox3 die unten angegebene Rowsource (c1:c5) aber nur wenn der Listindex der anderen Klamotten (also Combobox1, Listbox1, Listbox2)=0
ist. Ich habe es so wie unten versucht, es funktioniert aber nicht.
Private Sub ListBox2_Click()
If ComboBox1.ListIndex = 0 And _
ListBox1.ListIndex = 0 And _
ListBox2.ListIndex = 0 Then
Sheets("Tabelle3").Activate
UserForm2.ListBox3.RowSource = "c1:c5"
End If
End Sub
Wat mach ich denn falsch, Gruß Basti