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 September 19th 03 11:30 AM

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 03:43 AM.

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