Gruppe
Allgemein
Problem
Wie kann ich feststellen, ob sich die aktive Zelle in einem bestimmten Bereich befindet?
StandardModule: basMain
Sub Pruefen()
If Intersect(Range("A1:D4"), ActiveCell) Is Nothing Then
MsgBox "Outside"
Else
MsgBox "Inside"
End If
End Sub