Avatar of taduh
taduh
Flag for United States of America

asked on 

Trying to get a very simple AUTOIT executable to work in place of a VBA Sendkeys command

I am a super-newbie to AutoIT, but I saw it as a potential way to get around inconsistent behavior I have seen from the VBA SendKeys command. I have created an AutoIT executable which i call from within Excel VBA. It contains only one line of code:

Send("!XE",0)

This is to supposed to send the key Alt-X, followed by the keystroke E to run a menu item on an Essbase add-in that appears on my Excel toolbar, but the net result is that it types an E in the current cell on the active spreadsheet.

Any suggestions would be greatly appreciated.

Thanks,

taduh
Scripting LanguagesVisual Basic ClassicVB Script

Avatar of undefined
Last Comment
nutsch

8/22/2022 - Mon