Consulting

Results 1 to 4 of 4

Thread: Solved: Stop Excel process

  1. #1
    Hi,

    I am looking for a script that kill the Excel.exe process.
    I will appreciate your help

    Thanks,
    Oren

  2. #2
    VBAX Mentor Marcster's Avatar
    Joined
    Jun 2005
    Posts
    434
    Location
    Hi orenr ,

    Does my KB entry help?
    http://vbaexpress.com/kb/getarticle....8267af2a62889f

    Change the line:
    [VBA]strTerminateThis = "notepad.exe" 'Process to terminate,[/VBA]
    to
    [VBA]strTerminateThis = "excel.exe" 'Process to terminate,[/VBA]
    CAUTION:
    This will search through all running processes and terminates
    ALL instances of Excel.exe weather the're visible or not.
    It will terminate the processes without asking if you want to save
    the file or not.

    Marcster.
    Last edited by Marcster; 12-28-2005 at 03:02 AM. Reason: Added more to post.

  3. #3
    Many thanks.
    It works great.
    Thank you for the article and your assistance

    Oren

  4. #4
    VBAX Mentor Marcster's Avatar
    Joined
    Jun 2005
    Posts
    434
    Location
    Glad to help.

    Marcster.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •