views:

145

answers:

1

Hello,

I want to execute the shell command:

"C:\Temp\gc.exe 1"

but I want to do it using Visual Basic for Applications.

How can I do it?

Thanks in advance!

+2  A: 

Example:

 retVal = Shell("C:\Temp\gc.exe 1", vbNormalFocus)

Link: Shell Invoked from VBA

magnifico