Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Running external programs
A friend is asking "How do I run an external .exe or .cmd file from
Excel?" Is that a meaningful question without more? TIA, Alan Beban |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Running external programs
That seems like a reasonable question.
I think I'd respond with: Add a hyperlink that points at the .exe and click the hyperlink. or use the Shell command from VBA (if you can't control it yourself--like word.) I'd guess that my responses might get more questions, though. Alan Beban wrote: A friend is asking "How do I run an external .exe or .cmd file from Excel?" Is that a meaningful question without more? TIA, Alan Beban -- Dave Peterson |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Running external programs
VBA's shell command will continue execution immediately after the executable
has launched. Do a Google Search for: VBA ShellWait to get VBA to wait for the process to terminate. "Alan Beban" wrote in message ... A friend is asking "How do I run an external .exe or .cmd file from Excel?" Is that a meaningful question without more? TIA, Alan Beban |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Running external programs
Thanks to Rob van Gelder and Dave Peterson.
Alan Beban Rob van Gelder wrote: VBA's shell command will continue execution immediately after the executable has launched. Do a Google Search for: VBA ShellWait to get VBA to wait for the process to terminate. "Alan Beban" wrote in message ... A friend is asking "How do I run an external .exe or .cmd file from Excel?" Is that a meaningful question without more? TIA, Alan Beban |
#5
Posted to microsoft.public.excel.programming
|
|||
|
|||
Running external programs
Googling for ShellAndWait finds a few more than ShellWait. (I didn't compare
the results, though--they could be the same routine. Alan Beban wrote: Thanks to Rob van Gelder and Dave Peterson. Alan Beban Rob van Gelder wrote: VBA's shell command will continue execution immediately after the executable has launched. Do a Google Search for: VBA ShellWait to get VBA to wait for the process to terminate. "Alan Beban" wrote in message ... A friend is asking "How do I run an external .exe or .cmd file from Excel?" Is that a meaningful question without more? TIA, Alan Beban -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
run external programs | Excel Discussion (Misc queries) | |||
Programs running slow | Excel Discussion (Misc queries) | |||
Copying Excel 2007 data to external programs | Excel Discussion (Misc queries) | |||
Column Selection using external programs | Excel Discussion (Misc queries) |