It could certainly be done via a macro. But you need to tell us more.
Certainly you don't want the Enter key to delete any cell you happen to be
in. Which cell? Certain column(s) only? Row(s)? Only a certain sheet?
Only on odd days of the month? Waxing moon only? ???