J
Jonas
I have a batch file that is created via VBA. I have tried using the
Shell command to get it to execute but it will only execute in this
way if I put the shell command in the immediate window. the batch
file will also execute if I double click on it. Do you have any
suggestions as to what I might be doing wrong?
I have tried: Shell ("c:\batchfile.bat")
and:
strShell = "CMD.EXE /c c:\batchfile.bat"
Call Shell(strShell, vbMaximizedFocus)
Neither have worked.
Shell command to get it to execute but it will only execute in this
way if I put the shell command in the immediate window. the batch
file will also execute if I double click on it. Do you have any
suggestions as to what I might be doing wrong?
I have tried: Shell ("c:\batchfile.bat")
and:
strShell = "CMD.EXE /c c:\batchfile.bat"
Call Shell(strShell, vbMaximizedFocus)
Neither have worked.