Depends on the app you wan't to close.
if it supports VBA (autocad, microstation do)
you could use the getobject()
to instance the app and close it.
if it's not yuo will need api to find it's active window and handle
and close the thread (look at allapi.net for info on API)
N.B. this will require expoerience in VBA, a bit of
VB and API
--
Dnereb
------------------------------------------------------------------------
Dnereb's Profile:
http://www.excelforum.com/member.php...o&userid=26182
View this thread:
http://www.excelforum.com/showthread...hreadid=482975