Bereich= range( tab1.cells(1,1), tab1.cells(30,15))
als BSP definiert.
Wenn nun jemand innerhalb dieses Bereichs einmal mit der
linken Maustaste klickt, soll z.B. eine bestimmte Autoform
erscheinen.
Hallo Slam,
in das tabellenblattmodul:
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Intersect(Target, Range(Cells(1, 1), Cells(30, 15))) Is Nothing Then Exit Sub
MsgBox „Autoform wird in Kürze angezeigt“
End Sub
oder
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Intersect(Target, Range(„BSP“)) Is Nothing Then Exit Sub
MsgBox „Autoform wird in Kürze angezeigt“
End Sub