Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default 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 - -
  #2   Report Post  
Posted to microsoft.public.excel.programming
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


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default 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


.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
microsoft office excel can't start the application Becky Excel Discussion (Misc queries) 0 February 1st 07 03:25 AM
Excel Red X is grayed out & wont close application how do I fix chuckhn60 Excel Discussion (Misc queries) 1 June 16th 06 08:30 PM
Trying to close Excel Application in IE Pommy Excel Discussion (Misc queries) 3 November 24th 05 03:36 PM
macro to close excel application other than application.quit mary Excel Programming 1 September 14th 04 03:43 PM


All times are GMT +1. The time now is 03:32 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"