PDA

Click to See Complete Forum and Search --> : SendKeys


Stepeh
Jan 8th, 2000, 06:49 AM
SendKeys Sends the keys one key at a time.
So how wod you Send the keys alt f4 at the Same time.

I'v Tride SendKeys "%{" & Chr$(18) &" "& vbKeyF4 & "}"
but that does nothing.

Chr$(18) is alt


Thaks

p.s. Yes I do Wont to Close the Ative Form

plese Help

LG
Jan 8th, 2000, 07:34 AM
Hi, Stepeh.
For Alt key code is %
I belive Alt + F4 would be:

SendKeys "%{F4}"

Larisa

Stepeh
Jan 9th, 2000, 01:32 AM
Thanks Sooooo much


Stepeh