Gruppe
Allgemein
Bereich
Bearbeiten
Thema
Begrenzung der Einträge pro Zeile
Problem
Die Anzahl der Einträge pro Zeile ist bis zu Zeile 6 auf maximal 1 Eintrag zu begrenzen.
Lösung
Lösung über Menü DATEN / GÜLTIGKEIT / BENUTZERDEFINIERT. Formel: =ANZAHL2(1:1)=1
StandardModule: basMain
Sub Pruefen()
If Intersect(Range("A1:D4"), ActiveCell) Is Nothing Then
MsgBox "Outside"
Else
MsgBox "Inside"
End If
End Sub