Home |
Search |
Today's Posts |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Look at application.onkey.
Option Explicit Sub RunMyF6Macro() Application.OnKey "{f6}", "RunMyF6" End Sub Sub RunMyF6() MsgBox "hi from F6" End Sub 'And this would toggle it back to normal. Sub PutItBack() Application.OnKey "{f6}" End Sub WayneR wrote: Hi, Is there a way to assign aMacro or VB code to a F-key such as F12, Thanks -- WayneR -- Dave Peterson |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
F- Keys | Excel Worksheet Functions | |||
Hot Keys | Excel Worksheet Functions | |||
How to use Alt keys + symbol keys to invoke a macro? | Excel Programming | |||
use of F3 & F9 keys | Excel Discussion (Misc queries) | |||
hot keys | Excel Programming |