vincent90152900


Is it possible to use a word macro to execute an .exe file
How to do that
This is discussion is open to suggestions.
Many thanks for your replying.




Re: Is it possible to use a word macro to execute an .exe file?

MyLady


Hey,

You can use the Shell function to run an application. Specify the correct pathname.

Sub RunCalculator()

Dim RetVal

RetVal = Shell("C:\WINDOWS\SYSTEM32\CALC.EXE", 1)

End Sub

Best Regards

Cathrine






Re: Is it possible to use a word macro to execute an .exe file?

vincent90152900

Thank you very much.

It is very helpful.

Thank you again.