I am using mircosoft word VBA. I have two document A.doc and B.doc. I can put macro in A.doc but not in normal.dot or B.doc. So B.doc cannot have any dcode. So what code I should put in A.doc, so that when spacebar is typed whiole editing B.doc, macro in A named “Process_SpaceBar()” gets called?
I tried Application.KeyBinding. But it works only in the document in which code resides.
Any other way?
I tried Application.KeyBinding. But it works only in the document in which code resides.
So when I type spacebar in b.doc , Process_SpaceBar() macro of A doesnt get called.