Ich habe eine UF mit CheckBoxen.
Wie könnte ich den unteren Code vereinfachen?
CheckBox2.Visible = IIf(ComboBoxLinie.Value = "311", 1, 0)
CheckBox2.Visible = IIf(ComboBoxLinie.Value = "312", 1, 0)
CheckBox2.Visible = IIf(ComboBoxLinie.Value = "321", 1, 0)
CheckBox2.Visible = IIf(ComboBoxLinie.Value = "322", 1, 0)
CheckBox2.Visible = IIf(ComboBoxLinie.Value = "331", 1, 0)
Hätte jemand eine Hilfe anzubieten?Danke & Gruß Heinz