Re: VBA KeyPress event
From: JanAdam (jan_at_no.spam.please.com)
Date: 03/26/05
- Previous message: Austin Myers: "Re: Package for CD Digital Certificate Problem"
- In reply to: brian_at_nothere_reillyand.com: "Re: VBA KeyPress event"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 26 Mar 2005 14:12:54 -0800
Thanks Brian, will try. JanAdam
<brian@nothere_reillyand.com> wrote in message
news:v0984198ss29m1evin9svqcrl9g5m12nj2@4ax.com...
> JanAdam,
>
> Draw a text box control on the page (not on a userform)
> and add this code to it
>
> Private Sub TextBox1_Change()
> MsgBox TextBox1.Text
> End Sub
>
> Return the string on every keystroke into text box.
>
> Brian Reilly, PowerPoint MVP
>
> On Thu, 24 Mar 2005 22:18:22 -0800, "JanAdam" <jan@no.spam.please.com>
> wrote:
>
> >Thanks Glenna.
> >
> >I know about Insert, Symbol of course. It is very combersome though.
> >
> >The idea was to write a code that would read the typed input and, e.g.,
if
> >one types "\o" it would execute SendKeys ChrW(248). I just do not know
how
> >to read from the keyboard in real time, when typing to a text box or a
shape
> >on a slide in normal (edit) view. KeyPress does exactly what I want but
it
> >seems to be limited to reading the keyboard when typing to a text box on
a
> >form only. Or I am missing something?
> >
> >JanAdam
> >
> >
> >
> >
> >"PPTMagician" <PPTMagician@discussions.microsoft.com> wrote in message
> >news:864945DD-CD63-4D72-A889-47B019BEFE5A@microsoft.com...
> >> Shyam has some code examples here that might help:
> >> http://skp.mvps.org/vba.htm
> >>
> >> About the diacritic characters, click on Insert, Symbol and they are
> >> available under (normal text) symbols.
> >>
> >> Glenna
> >>
> >> "JanAdam" wrote:
> >>
> >> > It seems to me that the KeyPress event is fired only if typing to a
> >textbox
> >> > on a form, is it correct?
> >> > And if yes, is there an equivalent event or a way around it such that
I
> >can
> >> > read and process text typed to a slide in normal (edit) view?
> >> > This has been prompted by somebody asking this group some time ago
how
> >to
> >> > type diacritic characters into PP slides.
> >> >
> >> > JanAdam
> >> >
> >> >
> >> >
> >
>
- Previous message: Austin Myers: "Re: Package for CD Digital Certificate Problem"
- In reply to: brian_at_nothere_reillyand.com: "Re: VBA KeyPress event"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|