how to write code to press the 'Enter' key (not manually press)? -thanks
how to write code to press the 'Enter' key (not manually press)? -thanks
Re: how to write code to press the 'Enter' key (not manually press)? -thanks
SendKeys "{ENTER}"
HTH
cksiow
http://vblib.virtualave.net - share our codes
Re: how to write code to press the 'Enter' key (not manually press)? -thanks
thanks a lot!!!
How to write code to press 'Ctrl' and 'C' key at the same time and also the arrow down key? thanks again.
Re: how to write code to press the 'Enter' key (not manually press)? -thanks
not sure, maybe sendkeys "^(C{DOWN})"
HTH
cksiow
http://vblib.virtualave.net - share our codes
Re: how to write code to press the 'Enter' key (not manually press)? -thanks
SendKeys "%C" 'Sends ALT+C
SendKeys "^C" 'Sends CTRL+C
SendKeys "+C" 'Sends SHIFT+C
Regards,
Michi
MCSE, MCDBA
Re: how to write code to press the 'Enter' key (not manually press)? -thanks
The MSDN HElp facility describes how to use Sendkeys for all the keyboard keys inclusinf Ctrl and Alt, Enter and combinations of keys.
John G