+ Reply to Thread
Results 1 to 4 of 4

Code criteria for multiple "daughter" checkboxes in order to checkmark "mother" checkbox..

  1. #1
    Registered User
    Join Date
    04-15-2014
    Location
    Tulsa, Oklahoma
    MS-Off Ver
    Excel 2010
    Posts
    2

    Code criteria for multiple "daughter" checkboxes in order to checkmark "mother" checkbox..

    I have a spreadsheet with 5 ActiveX Control check boxes. I want to use the first 4 check boxes to mark steps off in a procedure. Then I want to use the fifth check box to lock the other four check boxes so they don't get accidentally selected or de-selected. In other words, one has to check or un-check the fifth check box in order to check the other four. I have successfully done this with one check box protecting another check box, but not with multiple check boxes. Any advice would be greatly appreciated. Thanks!

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,866

    Re: Code criteria for multiple "daughter" checkboxes in order to checkmark "mother" checkb

    try code for fifth box:
    Please Login or Register  to view this content.
    Best Regards,

    Kaper

  3. #3
    Registered User
    Join Date
    04-15-2014
    Location
    Tulsa, Oklahoma
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Code criteria for multiple "daughter" checkboxes in order to checkmark "mother" checkb

    Works perfect! Thank you Kaper! I have never seen an "If not" statement before. Interesting. Thanks again!!

  4. #4
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,866

    Re: Code criteria for multiple "daughter" checkboxes in order to checkmark "mother" checkb

    The statement is
    Please Login or Register  to view this content.
    checkbox returns boolean
    not is just negation
    so the code is equivalent to
    Please Login or Register  to view this content.

+ 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. Replies: 4
    Last Post: 11-17-2013, 12:05 PM
  2. [SOLVED] How to USE """"" cells count """"" change font color
    By austin123456 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-09-2013, 06:14 AM
  3. Replies: 2
    Last Post: 06-06-2013, 12:45 PM
  4. [SOLVED] Find multiple "text" criteria and return as ""Yes" in Matrix
    By bertrand82 in forum Excel General
    Replies: 11
    Last Post: 04-30-2012, 09:20 AM
  5. Replies: 0
    Last Post: 07-09-2009, 04:07 PM

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