Excel-VBA: Calling an exe and waiting for it to finish before looping the exe until cell is blank in excel -


i've created script in autohotkey automate webform entry excel workbook. script setup enter data line in excel form , delete row in excel. trying create loop in vba automate task running few problems.

i can use shell call exe, how can make excel wait before continues on(to loop , call exe again)

what best type of loop situation? exe continue called until cell a3 blank.

thank help, appreciated.

daniel

edit david: tried using code link , error.

sub run_code()       dim wsh object     set wsh = vba.createobject("wscript.shell")     dim waitonreturn boolean: waitonreturn = true     dim windowstyle integer: windowstyle = 1     dim errorcode integer      wsh.run("c:\profiles\user\desktop\macro3.exe", windowstyle, waitonreturn)    end sub 


Comments

Popular posts from this blog

python - How to create a legend for 3D bar in matplotlib? -

java - Multi-Label Document Classification -

php - Dynamic url re-writing using htaccess -