+ Reply to Thread
Results 1 to 11 of 11

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

Hybrid View

  1. #1
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

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

    Thank you for the feedback florin_excel,

    giving the user the job of closing an empty Excel window after closing the app isn't very appealing.
    Yes, I did explain that in my Post to you;
    ....leave you the option of quitting Excel manually, since you may have other Workbooks open at the same time.
    The attached sample should work now with task1 and task2.

    Regards.
    Attached Files Attached Files
    Last edited by Winon; 03-07-2019 at 01:05 PM. Reason: Attached correct Workbook.
    Please consider:

    Be polite. Thank those who have helped you. Then Click on the star icon in the lower left part of the contributor's post and add Reputation. Cleaning up when you're done. If you are satisfied with the help you have received, then Please do Mark your thread [SOLVED] .

+ 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. 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