Hi Stewart,
Because SendMessage will do the same job as we automation work that it will
put a message in the excel message queue, so it does not work as Excel is
working on the focused window(something like a modal dialog), so we use
sendinput which will generate the input event in the input queue directly.
Anyway I am glad that the project worked!!
Cheers!
Best regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! -
www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.