Disable Ctrl F4 Key on Form

burrina

Registered User.
Local time
Today, 01:54
Joined
May 10, 2014
Messages
972
I have tried a few combinations with No success! Using Access 2010 32 bit.
Select Case KeyCode

Case vbKeyF4
'MsgBox "The F4 key was Pressed"
KeyCode = 0
Case Else
'MsgBox "No match!" 'testing
End Select

Dim intAltDown As Integer
intAltDown = (Shift And acAltMask)
> 0
 
Thanks for the Link, I already looked at that link and tried the code, it does not work.
 
You've not set the Key Preview property of the form to Yes.
 
Oops, I thought I had. Thanks Gina and vbaInet for the help.

It worked of course!
 

Users who are viewing this thread

Back
Top Bottom