migx
July 18th, 2001, 07:50 AM
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
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