View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
tony h[_7_] tony h[_7_] is offline
external usenet poster
 
Posts: 1
Default why doesn't SendKeys work consistently?


send keys is dificult to get right but judicious use of ensuring th
window to which you want to send is ACTIVE and activating it if not.

The thing is that SENDKEYS sends to the active window so if you ar
doing an F8 I presume you are in the VBA window and so it will be th
VBA window that recieves your typing.

It won't be a problem with the code not doing things the sam

--
tony
-----------------------------------------------------------------------
tony h's Profile: http://www.excelforum.com/member.php...fo&userid=2107
View this thread: http://www.excelforum.com/showthread.php?threadid=49088