application.onkey doesn't work
Hi,
I made a commandbutton (activeX) with following code:
Private Sub CommandButton1_Click()
Application.OnKey "{F8}", "test"
End Sub
Sub test()
MsgBox ("ok")
End Sub
But after clicking on it and pressing F8, nothing happens.
Thanks for any advice.
bob
|