Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Add-In Shortcut key
I am trying to assign a shortcut key to a macro in an add-in. I added the
following to ThisWorkbook Private Sub Workbook_Open() Application.OnKey "+^{R}", "Liquidity.LiquidityCollFormat" Application.OnKey "^{R}", "Liquidity.LiquidityResize" End Sub but when I try to run it I get the message, The Macro c:\... cannot be found. Where have I gone wrong? Many thanks for any assistance. |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Add-In Shortcut key
You have this assigned as a PRIVATE SUB, the shortcut keys can not work with
a private sub. make Sub Workbook_open() also it is possible it is pointing to a macro in a workbook that does not exist. Check the add-in location. "xgirl" wrote: I am trying to assign a shortcut key to a macro in an add-in. I added the following to ThisWorkbook Private Sub Workbook_Open() Application.OnKey "+^{R}", "Liquidity.LiquidityCollFormat" Application.OnKey "^{R}", "Liquidity.LiquidityResize" End Sub but when I try to run it I get the message, The Macro c:\... cannot be found. Where have I gone wrong? Many thanks for any assistance. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
shortcut has change or move so this shortcut can not open | Excel Worksheet Functions | |||
Shortcut | Excel Discussion (Misc queries) | |||
Kb shortcut | Excel Discussion (Misc queries) | |||
Shortcut | Excel Discussion (Misc queries) | |||
Shortcut | Excel Discussion (Misc queries) |