+ Reply to Thread
Results 1 to 6 of 6

VBA to close/quit/taskkill notepad application from system

  1. #1
    Forum Contributor
    Join Date
    12-12-2017
    Location
    india
    MS-Off Ver
    2013
    Posts
    196

    VBA to close/quit/taskkill notepad application from system

    Hi Friends,
    i need a VBA to close/quit/taskkill notepad application from system & if possible save & close that application
    kindly help me to complete this task

    Thanks.

  2. #2
    Forum Expert Alf's Avatar
    Join Date
    03-13-2004
    Location
    Gothenburg/Mullsjoe, Sweden
    MS-Off Ver
    Excel 2019 and not sure I like it
    Posts
    4,758

    Re: VBA to close/quit/taskkill notepad application from system

    To quit notepad with taskkill you could try:

    Please Login or Register  to view this content.
    Alf

  3. #3
    Forum Contributor
    Join Date
    12-12-2017
    Location
    india
    MS-Off Ver
    2013
    Posts
    196

    Re: VBA to close/quit/taskkill notepad application from system

    thank you so much for you help Alf.....its working perfectly!!!!!
    one more help required, could you please tell me, how save the already opened notepad in desktop & then taskill?

  4. #4
    Forum Expert Alf's Avatar
    Join Date
    03-13-2004
    Location
    Gothenburg/Mullsjoe, Sweden
    MS-Off Ver
    Excel 2019 and not sure I like it
    Posts
    4,758

    Re: VBA to close/quit/taskkill notepad application from system

    how save the already opened notepad in desktop
    Not sure about this as when I use notepad I save and close after having used it. Googling a bit I found this information that could be of help.

    https://superuser.com/questions/7277...d-line-windows

    Find this comment in link and check information below these lines:
    After following the steps below, you can type "TaskClose notepad.exe" after hitting "Start" and it will auto save all undocumented notepad files into desktop. It will auto-close chrome.exe and save the restoration settings.
    Alf

  5. #5
    Forum Contributor
    Join Date
    12-12-2017
    Location
    india
    MS-Off Ver
    2013
    Posts
    196

    Re: VBA to close/quit/taskkill notepad application from system

    Thank you so much for your Help!!!!!!!!! Alf

  6. #6
    Forum Expert Alf's Avatar
    Join Date
    03-13-2004
    Location
    Gothenburg/Mullsjoe, Sweden
    MS-Off Ver
    Excel 2019 and not sure I like it
    Posts
    4,758

    Re: VBA to close/quit/taskkill notepad application from system

    You are welcome and thanks for feedback

    Alf

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Use Application.quit after close
    By brainzlp in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 02-17-2016, 07:02 PM
  2. Close/Reopen Excel using Taskkill - possible?
    By lordterrin in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 03-17-2014, 04:36 PM
  3. [SOLVED] Truly quit Excel using Application.Quit doesn't work
    By bta in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-29-2012, 04:44 AM
  4. [SOLVED] Access.Application.Quit - opens Access again then won't close - He
    By Hluhluwe in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-30-2006, 07:20 AM
  5. Application.Quit
    By Henry Hayden in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-07-2005, 12:00 PM
  6. [SOLVED] difference application.quit & application.close
    By Pierre via OfficeKB.com in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-08-2005, 04:00 PM
  7. application.quit
    By Murat Demir HEKIMOGLU in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-19-2005, 05:05 AM

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1