Ich bekomme bei folgenden Code zum Füllen ComboBox 2 in Abhängigkeit von ComboBox 1, die die Werte aus dem Sheet 8 ("Reiseziele") Spalte A bis C
Private Sub cbx_Zielort_Change()
Dim arr As Variant, wks As Worksheet
arr = wks(8).Range("A" & cbx_Zielort.ListIndex + 1, "C" & cbx_Zielort.ListIndex + 1)
cbx_Zielstrasse.Column = arr
End Sub
die Fehlermeldung "Laufzeitfehler 91 - Objektvariable oder WWith-Blockvariable nicht festgelegt"
Was ist falsch?
LG
Peer