Connecting Tech Pros Worldwide Forums | Help | Site Map

command button problem

Paul T. RONG
Guest
 
Posts: n/a
#1: Nov 13 '05
Hello there,

I have a comman button controls printing, is it other way than to have to
press both "Alt" and "P", e.g., is it any more simple way to just hit one
key, for example "F9" to print?
If yes, how to do that? Thank you very much.

Paul



Paul
Guest
 
Posts: n/a
#2: Nov 13 '05

re: command button problem


on the KeyDown Event

If KeyCode = vbKeyF9 Then
do this
end if

HTH
Paul

"Paul T. RONG" <etjsk@hotmail.com> wrote in message
news:r8Hhd.51187$z77.7506@news.chello.at...[color=blue]
> Hello there,
>
> I have a comman button controls printing, is it other way than to have to
> press both "Alt" and "P", e.g., is it any more simple way to just hit one
> key, for example "F9" to print?
> If yes, how to do that? Thank you very much.
>
> Paul
>
>[/color]


Paul T. RONG
Guest
 
Posts: n/a
#3: Nov 13 '05

re: command button problem


THanks, Paul, it works.

"Paul" <pzspam@rogers.com> 写入消息新闻:VfadnbCQmaI6ZxXcRVn-1A@rogers.com...[color=blue]
> on the KeyDown Event
>
> If KeyCode = vbKeyF9 Then
> do this
> end if
>
> HTH
> Paul
>
> "Paul T. RONG" <etjsk@hotmail.com> wrote in message
> news:r8Hhd.51187$z77.7506@news.chello.at...[color=green]
> > Hello there,
> >
> > I have a comman button controls printing, is it other way than to have[/color][/color]
to[color=blue][color=green]
> > press both "Alt" and "P", e.g., is it any more simple way to just hit[/color][/color]
one[color=blue][color=green]
> > key, for example "F9" to print?
> > If yes, how to do that? Thank you very much.
> >
> > Paul
> >
> >[/color]
>
>[/color]


Closed Thread