I am using the code below to stop users form printing forms, but for some reason, it is stopping any use the key P. Can you please help me solve this (i'm a bit slow on coding, so please give correct code when posting answer).
Private Sub TabCtl24_KeyDown(KeyCode As Integer, Shift As Integer)
If KeyCode = vbKeyP And vbKeyControl Then
MsgBox "Print disabled on form, Use reports to print"
KeyCode = 0