+ Reply to Thread
Results 1 to 6 of 6

Userform closed when closing another open workbook

  1. #1
    Registered User
    Join Date
    12-29-2019
    Location
    Valais, Suisse
    MS-Off Ver
    365
    Posts
    3

    Userform closed when closing another open workbook

    Hello,

    I made a UserForm opened on Workbook Open but have the problem when i open another workbook and close it, the workbook with the UserForm will be closed too.

    i have tried so many things but not possible.

    It's possible with another app like PowerPoint to do it?

    Thanks for Your help
    Best regards
    Last edited by BJems; 12-29-2019 at 06:18 PM.

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,447

    Re: Userform closed when closing another open workbook

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however you need to include code tags around your code.

    Please take a moment to add the tags. Posting code between tags makes your code much easier to read and copy for testing, and it also maintains VBA formatting.

    Please see Forum Rule #2 about code tags and adjust accordingly. Click on Edit to open your post, then highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here

    I did it for you this time. Please read forum rules. Thanks

  3. #3
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,447

    Re: Userform closed when closing another open workbook

    I can not post a link of the file, because i'm new here
    Hi
    that is correct. Nevertheless you can post on the forum. See the yellow banner

  4. #4
    Registered User
    Join Date
    12-29-2019
    Location
    Valais, Suisse
    MS-Off Ver
    365
    Posts
    3

    Re: Userform closed when closing another open workbook

    Thanks for editing for me

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,825

    Re: Userform closed when closing another open workbook

    Administrative Note:

    Oh, dear! You still haven't read our simple rules, I fear.

    We would very much like to help you with your query, however it has been brought to our attention that the same query has been posted on one or more other forums and you have not provided the required cross-post link(s) here.

    Please see Forum Rule #3 about cross-posting and adjust accordingly. Read this to understand why we (and other sites like us) consider this to be important.

    (Note: this requirement is not optional. As you are new here, I will do it for you this time.)

    https://www.mrexcel.com/board/thread...kbook.1119027/
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  6. #6
    Registered User
    Join Date
    12-29-2019
    Location
    Valais, Suisse
    MS-Off Ver
    365
    Posts
    3

    Re: Userform closed when closing another open workbook

    I edited the main message
    Last edited by BJems; 12-29-2019 at 06:19 PM.

+ 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. Update userform dropdown list from appended closed workbook while form is open
    By terriertrip in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-09-2017, 05:05 PM
  2. [SOLVED] Import A specified Range From Closed Workbook (without opening and closing)
    By webboj in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-18-2013, 05:47 AM
  3. Opening, refreshing, saving, and closing a closed workbook
    By hootiebsc in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-18-2013, 05:22 PM
  4. Macro to open a closed workbook and select copy cells into an open workbook
    By helloganesh in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-10-2013, 02:00 PM
  5. open userform when closing workbook > help
    By step_one in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-22-2011, 12:46 AM
  6. [SOLVED] Workbook closed by VBA not Closing Properly
    By blayne in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-17-2005, 03:35 PM
  7. Closing Hidden Workbook when Active Workbook is Closed
    By SusanK521 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-23-2005, 08:05 PM

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