Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Shell "cmd.exe /c c:\Myfile.Bat"
= Regards, Tom Ogilvy "Trevor" wrote in message ... Hi all, I have written ( with much help from the message board ) a macro in excel that opens a .BAT file, runs it, then continues with the import of a text file. However, when all is done, there is still a cmd.exe window left open in the background waiting for "Press any key to continue...". When any key is pressed within that app, the app window is closed. Is there a way to send a command from the excel macro to that app to close it? Any help is much appreciated. Thanks, Trevor |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell | Excel Discussion (Misc queries) | |||
Help!!! Enter "7" in a cell and Excel changes the "7" to "11" immediately!!! | Excel Discussion (Misc queries) | |||
Make "Edit" mode default, rather than "Enter"? | Excel Discussion (Misc queries) | |||
inserting a conditional "go to" command on a excel "if" function | Excel Worksheet Functions | |||
Is there a "replace" or "Substitute" command in Excel's VB? | Excel Programming |