I want to execute a shell command like the following using Visual Basic for Applications.
C:Tempgc.exe 1
How can I do it?
Example:
retVal = Shell("C:Tempgc.exe 1", vbNormalFocus)
Link: Shell Invoked from VBA
2.1m questions
2.1m answers
60 comments
57.0k users