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
1.4m articles
1.4m replys
5 comments
57.0k users