A
Andy
Is there a way to use application.onkey to assign the same key to one
macro in workbookA and another Macro in workbookB? And have that same
shortcut key do nothing in WorkbookC? All three workbooks are open at
the same time so I want the appropriate macro to run in the active
workbook.
I tried a few ways making the application.onkey statement conditional
on the activeworkbook, but when the key was assigned, that was that.
TIA,
Andy
macro in workbookA and another Macro in workbookB? And have that same
shortcut key do nothing in WorkbookC? All three workbooks are open at
the same time so I want the appropriate macro to run in the active
workbook.
I tried a few ways making the application.onkey statement conditional
on the activeworkbook, but when the key was assigned, that was that.
TIA,
Andy