+ Reply to Thread
Results 1 to 2 of 2

Uncheck checkbox WITHOUT running code on Auto_Close

  1. #1
    Registered User
    Join Date
    11-01-2007
    Posts
    1

    Uncheck checkbox WITHOUT running code on Auto_Close

    I must be missing something...Is there a way to uncheck a checkbox WITHOUT running the code assigned to it, so that when I Close, everything is reset to unchecked for when I Open again ? I have a macro set to colorize the font based on whether it is checked or not. On Open the font is default black, from there on any checking or unchecking goes green or red. If the checkbox was already False, everything is fine. If the checkbox was True, then a "click" happens and that in turn jumps to the CheckBox1_Click code which I don't want to happen on close.
    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    Last edited by gorlosky; 11-01-2007 at 03:05 PM.

  2. #2
    Valued Forum Contributor
    Join Date
    04-11-2006
    Posts
    407
    Can you incorporate the code to turn the checkbox text black right after the unchecking occurs in the Auto_Close code?

    Alternatively, you could use some sort of global variable that when it equals true your CheckBox_Click code does not execute.

+ 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