+ Reply to Thread
Results 1 to 3 of 3

Checkbox - On Click or On Change Event?

  1. #1
    Forum Contributor
    Join Date
    06-16-2010
    Location
    Tampa, FL
    MS-Off Ver
    Excel 2010
    Posts
    278

    Checkbox - On Click or On Change Event?

    I have a checkbox (cbAnswers) and a cbAnswers_Click event

    In addition, I clear the value of cbAnswers during a Change event for a combo box.
    The combo change event is firing the checkbox click event.

    How do I stop the combo change from firing the click event - but I still want to change the value of the checkbox?

    Thanks!
    Last edited by ker9; 03-09-2011 at 11:35 AM.

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259

    Re: Checkbox - On Click or On Change Event?

    Hello ker9,

    Where are these controls: Worksheet or VBA UserForm?
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Forum Contributor
    Join Date
    06-16-2010
    Location
    Tampa, FL
    MS-Off Ver
    Excel 2010
    Posts
    278

    Re: Checkbox - On Click or On Change Event?

    Hi, Thanks for the response. They are VBA controls.
    My work around was to disable the checkbox at the beginning of the combo change event, reset the value on the checkbox, and then enable the checkbox at the end of the change event. This is working perfect.

+ 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