+ Reply to Thread
Results 1 to 3 of 3

userform closes when I click on anything but a textbox!

  1. #1
    Registered User
    Join Date
    05-05-2020
    Location
    Germany
    MS-Off Ver
    2013
    Posts
    82

    userform closes when I click on anything but a textbox!

    Hey!

    The userform closes whenever I click any where on the window and when I click on a cell. It remains open only if I click on a textbox. How can I stop this?

    (I want it to close only if the user click on the X or the Close button)

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    19,776

    Re: userform closes when I click on anything but a textbox!

    You would need to post example file, as per instructions in yellow banner at top of page, which demonstrates the problem.
    Cheers
    Andy
    www.andypope.info

  3. #3
    Registered User
    Join Date
    05-05-2020
    Location
    Germany
    MS-Off Ver
    2013
    Posts
    82

    Re: userform closes when I click on anything but a textbox!

    my excel file has confidential info and I can't upload it.
    But I found my mistake.

    There was Unload Me in the userform_Click (◔_◔)

+ 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. R Click paste/copy in an textbox userform
    By IceSnakeR in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-04-2018, 07:54 AM
  2. [SOLVED] How to select all text in textbox when i click textbox "userform"
    By HaroonSid in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-14-2017, 11:30 AM
  3. Userform Textbox - Capturing Mouse Click
    By CraigsWorld in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-09-2015, 12:22 AM
  4. Userform textbox needs to show data, without having to click
    By scott marks in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-31-2013, 09:17 AM
  5. Replies: 3
    Last Post: 08-10-2011, 02:02 PM
  6. Userform w/textbox search a table for a value on click
    By trader07 in forum Excel Programming / VBA / Macros
    Replies: 21
    Last Post: 03-30-2011, 03:45 AM
  7. Right-click in userform textbox.
    By ilovelagar in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-01-2009, 03:08 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