ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Shell function (https://www.excelbanter.com/excel-programming/277516-shell-function.html)

David

Shell function
 
Greetings,

Help with the following will be much appreciated:
This sub runs fine:
Sub RunIntro()
Dim SCamShow
SCamShow = Shell("C:\ScreenCams\Intro.exe", 1)
End Sub
When this finishes the ScreenCam application is left open.
How do I close it after Intro.exe finishes executing?
David


All times are GMT +1. The time now is 08:16 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com