View Single Post
 
Old 10-15-2012, 05:07 AM
tinfanide tinfanide is offline Windows 7 64bit Office 2010 32bit
Expert
 
Join Date: Aug 2011
Posts: 312
tinfanide is on a distinguished road
Default

Quote:
Originally Posted by tinfanide View Post
I've found some hints on the Internet, yet it doesn't work at all in my case:

http://vbadud.blogspot.hk/2007/06/assigning-shortcut-keys-excel-macros.html

Code:
Sub a()
Application.OnKey "^t", "b"
End Sub

Sub b()
MsgBox "b..."
End Sub

Book1.xlsm
I have just tested the codes.
It works with Procedure a() but not Procedure c().
Just can't figure out why.
Please tell me if ya know why. Thanks.
Reply With Quote