Taste "Entf" bei Tatastur sperren?
amintire
Gruß amintire
Sub til()
Application.OnKey "{DEL}", "Machs"
End Sub
Sub Machs()
MsgBox "Huhu!"
End Sub
Aber nicht vergessen, der Taste auch wieder ihre Standardfunktion zu geben:Sub tile()
Application.OnKey "{DEL}"
End Sub
Grüße BorisPrivate Sub Workbook_Open()
Application.OnKey "{DEL}", "Machs"
End Sub
Private Sub Workbook_BeforeClose(Cancel As Boolean)
Application.OnKey "{DEL}"
End Sub
In ein allgemeines Modul:Sub Machs()
MsgBox "Finger weg von der Entf/Del-Taste!!!!!", , "Big Brother is watching you!"
End Sub
Grüße Boris