|
-
July 18th, 2001, 07:50 AM
#1
Key Bindings to macros in VBA
hello
I want to asign a key to a macro and to pass an object ( an active X to it ).
My code is:
Dim ob as activeXtype
set ob = new activeXtype
KeyBinding.Add wdKeyCategoryMacro,"GetNextOne",BuildKeyCode(wdKeyF4)
The key Binding works good, but how do I pass the object and how do I receive it in the macro?
tks
Mig
http://l2f.inesc-id.pt
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|