Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
use F keys
Hi,
Is there a way to assign aMacro or VB code to a F-key such as F12, Thanks -- WayneR |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
use F keys
If you assign a macro to a Function key, it takes away the built-in program
for that key, even when you close the workbook for your macro. You can assign a macro to any key for a letter of the alphabet and most symbols as short cut keys without changing any of the built-in functionality of the F keys. It is just as easy to do and to use. "WayneR" wrote: Hi, Is there a way to assign aMacro or VB code to a F-key such as F12, Thanks -- WayneR |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
use F keys
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 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
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 |