Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
execute a .exe file and type a text string by vba on it
Hi all,
I have a software ending with .exe that i would like to open, type the word 'select' on it, press 'enter' and make it run from excel. I used the following code but vba doesn't recognize 'wd' as an application but as a number. Dim wd As Application wd = Shell("Y:\--\Sel.exe", 1) Application.SendKeys "select" Do you have any clues about? Thanks, Marco |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How do you save an excel file to be read as IBM-type text file ? | Excel Worksheet Functions | |||
Run/Execute string expression | Excel Programming | |||
Evaluate and execute a string | Excel Programming | |||
Hyperlink - execute a "Back/Previous" type of functionality | Excel Discussion (Misc queries) | |||
Changing a specific character type in text string | Excel Discussion (Misc queries) |