KlausW
Active Member
- Joined
- Sep 9, 2020
- Messages
- 458
- Office Version
- 2016
- Platform
- Windows
Hello
I have a challenge, I'm looking for a VBA code that can run a macro when I press a key, for example Ctrl and +.
I found this here on the forum but can't get it to work.
Some who can help.
Any help will be appreciated
Best Regards
Klaus W
I have a challenge, I'm looking for a VBA code that can run a macro when I press a key, for example Ctrl and +.
I found this here on the forum but can't get it to work.
Some who can help.
Any help will be appreciated
Best Regards
Klaus W
VBA Code:
Sub Test()
Application.OnKey "^{+}", "TestProc"
End Sub
Sub TestProc()
MsgBox "Hello"
End Sub