My last post has somehow been corrupt, so i will repost it...

I am looking for a way to know if a user has hit "Ctrl + A" anywhere on the screen.

I tried this:
VB Code:
  1. Private Sub Form_KeyPress(KeyAscii As Integer)
  2. If KeyAscii = vbKeyControl And KeyAscii = vbKeyA Then
  3. '-------------
  4. 'Code
  5. MsgBox "Congrats, you just hit Ctrl + A :D"
  6. '-------------
  7. End If
  8. End Sub
(it dosn't work)

This can either be hit inside the form, our ourside the form.

Thanks
~Cody