View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Keith Willshaw Keith Willshaw is offline
external usenet poster
 
Posts: 170
Default 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