|
-
August 22nd, 2001, 04:53 PM
#1
KeyUp event
In my VBA Excel application, I want to call a procedure when the user presses Ctrl-l. I know I have to do something like that but I don't know exactly how does it works.
private Sub oXLApp_KeyUp(byval KeyAscii as MSForms.ReturnInteger, byval Shift as Integer)
'MsgBox (KeyAscii & Shift)
End Sub
Could you please help me.
Thanks
-
August 22nd, 2001, 05:58 PM
#2
Re: KeyUp event
Hi,
try this:
If KeyCode = vbKeyControl & Chr(KeyAscii)= "l" Then
do what you want here
End If
Good Luck!
Thanks
Hisham
Thank You, Hisham
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|