ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Close Non-Microsoft Application From Excel (https://www.excelbanter.com/excel-programming/292689-close-non-microsoft-application-excel.html)

Tom B

Close Non-Microsoft Application From Excel
 
Windows 2000 / Excel 2000

I am using 'Shell' to start a (non microsoft) application
prior to executing my macros.

Dim MyAppID
MyAppID = Shell("C:\FolderName\FileName.exe", 1)

Once the macro has executed, I would like to close the
application as a house-keeping measure. Any suggestions?

Thanks in advance,

- - TB - -

Keith Willshaw

Close Non-Microsoft Application From Excel
 

"Tom B" wrote in message
...
Windows 2000 / Excel 2000

I am using 'Shell' to start a (non microsoft) application
prior to executing my macros.

Dim MyAppID
MyAppID = Shell("C:\FolderName\FileName.exe", 1)

Once the macro has executed, I would like to close the
application as a house-keeping measure. Any suggestions?

Thanks in advance,

- - TB - -


There's a utility on the Win 2k resource kit , alternatively
the site below has a utility you can download that you could
use from shell

http://www.sysinternals.com/ntw2k/freeware/pskill.shtml

CAVEAT:
I have not used this one myself but the site is reputable
and I have user other utils of theirs.

Keith



Tom B

Close Non-Microsoft Application From Excel
 
Thanks, that solved the issue.

- - TB - -
-----Original Message-----

"Tom B" wrote in

message
...
Windows 2000 / Excel 2000

I am using 'Shell' to start a (non microsoft)

application
prior to executing my macros.

Dim MyAppID
MyAppID = Shell("C:\FolderName\FileName.exe", 1)

Once the macro has executed, I would like to close the
application as a house-keeping measure. Any suggestions?

Thanks in advance,

- - TB - -


There's a utility on the Win 2k resource kit ,

alternatively
the site below has a utility you can download that you

could
use from shell

http://www.sysinternals.com/ntw2k/freeware/pskill.shtml

CAVEAT:
I have not used this one myself but the site is reputable
and I have user other utils of theirs.

Keith


.



All times are GMT +1. The time now is 01:29 PM.

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