I want to be able to stop a running program/application from within a VBA function. I’ve found a number of ways to start a program but none that can end a program. What I want to do is something like this:
If varCondition = ConditionMet Then CommandToStopRunningProcess ProgramName.exe End If
Thanks.