F
Fishingsantafe
How do you assign a short cut key to a macro I created. I am tryin to learn
VBA and am working on writing code. I have been reading about the onkey
method. Where in the code to you enter the short cut key? After the Dim
Statement?
Could some one give me a couple of easy examples or tell where I can find
the code or symbols used for short cut keys? What happens if I use a key
that is already assigned to do something else? Can it recognize when to use
it to run a macro and when to use it for it original purpose?
I am just learning VBA and trying to learn to code macros. I have manged to
code and edit the macro to get it to do what I wanted but can not seem to
figure out how to attach a short cut key in the code.
Also does anyone know if there is a way to create macros in Excel and use
them in another application that uses VB? How do you tie the two together?
Any help is appreciated.
VBA and am working on writing code. I have been reading about the onkey
method. Where in the code to you enter the short cut key? After the Dim
Statement?
Could some one give me a couple of easy examples or tell where I can find
the code or symbols used for short cut keys? What happens if I use a key
that is already assigned to do something else? Can it recognize when to use
it to run a macro and when to use it for it original purpose?
I am just learning VBA and trying to learn to code macros. I have manged to
code and edit the macro to get it to do what I wanted but can not seem to
figure out how to attach a short cut key in the code.
Also does anyone know if there is a way to create macros in Excel and use
them in another application that uses VB? How do you tie the two together?
Any help is appreciated.