Closed Thread
Results 1 to 3 of 3

Help needed for ActiveX checkbox VBA

  1. #1
    Registered User
    Join Date
    10-31-2020
    Location
    usa
    MS-Off Ver
    365
    Posts
    2

    Help needed for ActiveX checkbox VBA

    Hi, I have a pretty complex project for work that has 3 columns of checkboxes that are either enabled, disabled, or auto-selected based on the user selection in another cell. There is also a "select all" check box at the top of each column. I've got the basic code and it was working, but it is not working down each column. It seems to be working weirdly based on the numbering of the checkboxes. I need to have this finished before Monday, and I can't figure it out. Can anyone help? I didn't see it specifically listed in the rules, but I can offer payment for the help - I don't have a lot, but will pay what I can as I am desperate! If you think you can help I can send the worksheet, it is too large to attach here.
    Last edited by AliGW; 11-01-2020 at 11:44 AM. Reason: Irrelevant section of title removed - we do not prioritise posts, however urgent you think they are.

  2. #2
    Forum Expert Roel Jongman's Avatar
    Join Date
    03-28-2015
    Location
    Netherlands
    MS-Off Ver
    Office 365
    Posts
    1,483

    Re: Urgent help needed for ActiveX checkbox VBA

    You do not give us much to go on..

    please find attached a small stripped sample of how checkboxes can be made to interact

    in the sample you will see if you check the show all tabs checkbox (checkbox4) it will toggle the state for checkbox 1 thru 3 to eighter false (unchecked) or true (checked)
    Which then triggers certain tabs to appear or disappear.

    Getting a logical naming of checkboxes with a sequential numbering can help limit the amount of code but requires a very good planning of exact needs to make it function wel under all circumstanses if you are unders time pressure it might be best to have long code with a setting for each checkbox to mirror or counter

    This code belsow will set all 3 checkboxes to the state of checkbox 4
    Please Login or Register  to view this content.
    if you ad a "Not" before Checkbox4 f.e.

    Please Login or Register  to view this content.
    then checkbox1 will be set to the opposite of checkbox4

    I hope this helps you get to where you need to be..
    if not please explain a bit more and read the yellow box above the forumlist on how to attach a sample file so it is a lot easier for us to help you..
    Attached Files Attached Files

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    81,509

    Re: Help needed for ActiveX checkbox VBA

    Thread closed in favour of the new one opened in Commercial Services: https://www.excelforum.com/commercia...code-help.html
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

Closed Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. ActiveX Checkbox select all
    By rudymay in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-11-2020, 08:15 PM
  2. [SOLVED] ActiveX Checkbox Not Working
    By EdwardSnowden in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-24-2019, 04:14 PM
  3. ActiveX Command Button combined with ActiveX List Boxes – VBA Code Needed
    By Stlcards13 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-26-2017, 02:56 PM
  4. Replies: 1
    Last Post: 07-27-2014, 10:57 AM
  5. [SOLVED] Easy Macro needed to change some, not all, activeX checkbox to False or True
    By caliskier in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-07-2014, 12:51 PM
  6. [SOLVED] How to see the ActiveX Checkbox is checked ?
    By redsab in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-12-2013, 04:37 AM
  7. Replies: 5
    Last Post: 08-24-2013, 09:45 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