I'm trying to use SendKeys
to send some special characters, for example é
.
If I use
set mySendKeys = CreateObject("WScript.shell")
mySendKeys.SendKeys "é"
For sure it won't work...
I'm thinking that interpret the character by using asc("é")
, get its result is chr(233)
, then mySendKeys.SendKeys chr(233)
Sounds good?... But it will generate an error Invalid procedure call or argument
I found a similar question here
Or is there any other way to simulate keyboard to input special character like this?