Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi all
can anyone help me with starting a macro called "gsw" by using the # or | or ~ key? The reason being I am trying to activate this macro by barcode scan and I cannot print a barcode using ctrl + X TIA |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Have you looked at the onkey method in VBA help?
-- Regards, Tom Ogilvy "Ftca" wrote in message ... Hi all can anyone help me with starting a macro called "gsw" by using the # or | or ~ key? The reason being I am trying to activate this macro by barcode scan and I cannot print a barcode using ctrl + X TIA |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
"Tom Ogilvy" wrote in message
... Have you looked at the onkey method in VBA help? As usual Tom you've steered me in the right direction a quick google groups search and............ FWIW I used this method from vb (shift F11) insert module pasted in Sub keytrap() Application.OnKey "{TAB}", "gsw" End Sub (seemed your name was in this post/thread too) now a simple step to subst TAB with one of my prefered choices and "Bob's yer Uncle!" Thanks Tom -- Regards, Tom Ogilvy "Ftca" wrote in message ... Hi all can anyone help me with starting a macro called "gsw" by using the # or | or ~ key? The reason being I am trying to activate this macro by barcode scan and I cannot print a barcode using ctrl + X TIA |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do you start a Macro? | New Users to Excel | |||
Sub Macro vrs Function Macro Auto Start | Excel Discussion (Misc queries) | |||
How to start a Macro | Excel Discussion (Misc queries) | |||
Macro Start | Excel Discussion (Misc queries) | |||
start a macro | Excel Worksheet Functions |