I am using Excel with VBA 7.1. I am starting another application from VBA using the shell command. The application comes up OK. But now I need to click a button in that application to proceed.
My current (and limited) understanding of the procedure I must follow is to first get the handle of the application, then the handle of the button, and finally make a call to programmatically click that button.

While you are correct, many can't write the code to do that. Why not use AUTOIT scripts instead?

commented: Ditto. AutoIt (and AutoHotkey) are excellent. +14