ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Command Prompt (https://www.excelbanter.com/excel-programming/287139-command-prompt.html)

Michael Burkett

Command Prompt
 
I am using the command below to start a program inside of an excel
macro. I have not really done this before so I am not really up on all
of the options I have. Does anyone know of a web resource that covers
this info in-depth. Some general info would be useful as well.

A specific question: Is there a way to close a program that is already
running inside of a macro. The problem I am having is the program is
already open and the macro is launching another copy of the program.
Or if closing is not possible, can I run a procedure with a currently
open program?

Also what does the ,1 do in the line below?

retval = Shell("f:\axys3\Axys32.exe Script commchk", 1)

note: the Script commchk runs a script with the .exe program.


Thank you for your help!


All times are GMT +1. The time now is 10:32 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com