+ Reply to Thread
Results 1 to 3 of 3

UserForm _Click() vs _Change()

  1. #1
    Forum Expert
    Join Date
    03-31-2009
    Location
    Barstow, Ca
    MS-Off Ver
    Excel 2002 & 2007
    Posts
    2,164

    UserForm _Click() vs _Change()

    Is there any significant difference between Control_Click() and Control_Change() on a userform?

    I cannot find a way to get the form to execute just the _Change() event without the _Click() event also executing.
    Foxguy

    Remember to mark your questions [Solved] and rate the answer(s)
    Forum Rules are Here

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,523

    Re: UserForm _Click() vs _Change()

    What is the Control you are referring to?

  3. #3
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: UserForm _Click() vs _Change()

    The change event triggers at each change in a control, so when a selection is made in a combobox the value changes & any associated code runs.

    In a textbox every character typed in will fire the event, probably not a good idea to use it like this

    The click event works when a control is clicked
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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