Hi
I found this macro on here that runs a macro when the delete key is pressed on book opening.
What I’m trying to do if poss is to have this but to be able to have it numerous times. I.E click on delete key run macro then push delete key run another macro and so on....
Can I do this? Apologies script not highlighted but just typing on I phone.
Private Sub Workbook_Open()
Application.OnKey "{DELETE}", "MyMacro"
End Sub
I found this macro on here that runs a macro when the delete key is pressed on book opening.
What I’m trying to do if poss is to have this but to be able to have it numerous times. I.E click on delete key run macro then push delete key run another macro and so on....
Can I do this? Apologies script not highlighted but just typing on I phone.
Private Sub Workbook_Open()
Application.OnKey "{DELETE}", "MyMacro"
End Sub