+ Reply to Thread
Results 1 to 2 of 2

Close shell within VBA

  1. #1
    Registered User
    Join Date
    07-16-2019
    Location
    New Zealand
    MS-Off Ver
    365
    Posts
    44

    Close shell within VBA

    Hi Excel Forum,

    I am attempting to close cmd.exe using VBA after running the desired code. So far, I have yet to find a working solution.

    Please Login or Register  to view this content.
    Any help in resolving this issue is appreciated.

  2. #2
    Registered User
    Join Date
    07-16-2019
    Location
    New Zealand
    MS-Off Ver
    365
    Posts
    44

    Re: Close shell within VBA

    I resolved this issue with the following function:

    Please Login or Register  to view this content.

+ 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. Need file to close automatically - and if posssible, after the close, folder be on screen
    By ILoveStMartin in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-25-2021, 08:49 PM
  2. Open shell "Bartender", Print labels, then close
    By mk3ll00 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-28-2021, 06:43 PM
  3. [SOLVED] Issue with Open, copy, close Macro - when trying to close workbook Clipboard error
    By seanpcorbett1 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-13-2016, 05:14 PM
  4. how to close userform using commndbutton and set automatic close at certain time
    By fatinmunie in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-23-2014, 12:51 PM
  5. Disable close workbook but still force users to close thru command button
    By rathig in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-18-2013, 07:29 AM
  6. Replies: 0
    Last Post: 06-10-2005, 01:05 PM
  7. Shell can open an application, can it close an app too?
    By quartz in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-26-2005, 11:06 AM

Tags for this Thread

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