Results 1 to 11 of 11

Correctly close Excel from within a userform code. Is there a way?

Threaded View

  1. #1
    Registered User
    Join Date
    08-03-2012
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    30

    Correctly close Excel from within a userform code. Is there a way?

    I'm running a small example (attached) of using userforms to collect data and perform some calculations, and worksheets to display the results. After exiting from application an instance of Excel still running as a background process, and needs ending from the Task Manager. I understand that trying to close Excel from within a userform is controversial but I can't figure out how to otherwise do it. Any help, please?
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 1
    Last Post: 03-23-2018, 03:52 PM
  2. VBA code - Userform not to close
    By Sintek in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-15-2016, 01:21 PM
  3. [SOLVED] execute code on userform close buton
    By kosherboy in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-10-2016, 02:22 PM
  4. Code for save and close Button on Userform
    By cjames2012 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-16-2013, 12:49 AM
  5. userform button code needs attention to work correctly
    By rampres! in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-15-2012, 03:30 PM
  6. Code a Command Button on UserForm not to close upon click - Excel VBA
    By eemiller1997 in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 12-14-2012, 02:20 PM
  7. Dissable Close button on Userform or Assign Code
    By RobynC in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-19-2007, 10:07 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