P
PJ
Is it possible to launch an external program using VBA without specifying the
application path? I want to launch a program where the location of the
executable will vary based on the version installed on the users machine.
The executable is the same regardless of the version installed and it appears
there are at least four versions (and four locations) that could be present
on the users machine.
So instead of this:
RetVal = Shell("C:\WINDOWS\CALC.EXE", 1)
is there any way to achieve something like this:
RetVal = Shell(CALC.EXE, 1)
application path? I want to launch a program where the location of the
executable will vary based on the version installed on the users machine.
The executable is the same regardless of the version installed and it appears
there are at least four versions (and four locations) that could be present
on the users machine.
So instead of this:
RetVal = Shell("C:\WINDOWS\CALC.EXE", 1)
is there any way to achieve something like this:
RetVal = Shell(CALC.EXE, 1)