Paul Brady <> wrote in
news::
> The following command failed when used in Access 2003
> running on Windows 7:
>
> SendKeys "{f4}" ' causes drop-down names list on
> hitting first key
>
> It causes the debug window to open, which the user cannot
> deal with.. This command has worked for 12 years in Access
> 95, 97, 2K, and 2003, running on Windows 95, W98, W2000,
> WMe, WXP, and Vista. But on a laptop running W7, it
> failed. Any idea why? And, BTW, actually pressing the F4
> key does work properly.
> Pete Brady
>
SendKeys hasn't worked properly since Vista. (In VB6 anyway.)
Maybe you can adapt this VB6 work-around to VBA....
http://vb.mvps.org/samples/SendInput/