Re: Keystroke formatting in Find box not working

From: Klaus Linke (info_at_fotosatz-kaufmann.de.no.junk)
Date: 03/10/04


Date: Wed, 10 Mar 2004 03:50:50 +0100

Hi Larry,

If you really intercepted the built-in commands -- Sub Bold() for bold... --
the keyboard shortcuts should still work in all contexts.
If you created your own macros [say Sub myBold()] and assigned the keyboard
shortcuts to those macros, I don't think you can make those shortcuts work
in dialogs.

Greetings,
Klaus

"Larry" <larry328@att.net> wrote:
>
>
> I found the source of the problem. I have created macros that intercept
> the built-in Underine, Italic and Bold commands, and this changed their
> functionality so that pressing the keystrokes no longer registers in the
> Find box.
>
> I like the improvements I've made to the built-in commands. For one
> thing, I've changed them so that the cursor doesn't have to be inside a
> word in order to underline or italicize it. The cursor can be just
> touching the first or last character of the word and the command will
> still format the word. So I want to keep my customizations while also
> retaining the functionality of these commands when they are run in the
> Find box.
>
> So the question is, is there a way I can determine through VBA if the
> focus is on the Find box? If there is, then I would run the standard
> code for these commands if the Find box is active, and I would run my
> customized code if it's not.
>
> Any ideas? :-)
>
> I'm copying this message to the vba group.
>
> Larry
>
>
>



Relevant Pages

  • Re: Keystroke formatting in Find box not working
    ... the keyboard shortcuts should still work in all contexts. ... If you created your own macros and assigned the keyboard ... > I like the improvements I've made to the built-in commands. ...
    (microsoft.public.word.newusers)
  • Re: Keystroke formatting in Find box not working
    ... the keyboard shortcuts should still work in all contexts. ... If you created your own macros and assigned the keyboard ... > I like the improvements I've made to the built-in commands. ...
    (microsoft.public.word.application.errors)
  • Re: Keystroke formatting in Find box not working
    ... the keyboard shortcuts should still work in all contexts. ... If you created your own macros and assigned the keyboard ... > I like the improvements I've made to the built-in commands. ...
    (microsoft.public.word.vba.general)
  • Re: Keystroke formatting in Find box not working
    ... the keyboard shortcuts should still work in all contexts. ... If you created your own macros and assigned the keyboard ... > I like the improvements I've made to the built-in commands. ...
    (microsoft.public.word.newusers)
  • Re: A _Bunch_ of Article_XXXX commands in _One_ send buffer.
    ... Speaking of perl... ... I love macros, they remove a lot of redundancy and other ugliness. ... issuing Article_XXXX commands one at a time. ... Terminals have a baud rate, ...
    (news.software.readers)