How do I go about making this code work no matter what form is present:
I have about 30 forms so I don't want to have to add something to every form, is there a way that that code can be modified so that no matter what form is on screen, if I press F1 it will do the command?Code:Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)
If KeyCode = vbKeyF1 Then
Config.Show
End If
End Sub
