+ Reply to Thread
Results 1 to 2 of 2

For each checkbox on userform, if checked, set "t" & (the check boxes name) = true

  1. #1
    Forum Contributor
    Join Date
    09-04-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    298

    For each checkbox on userform, if checked, set "t" & (the check boxes name) = true

    So each checkbox is named something.

    There is a boolean switch for each checkbox, the switch is named with a t in front of it.

    So if a checkbox reference name is "NeedsAdjustment"

    the boolean is called "tNeedsAdjustment"

    etc

    What is a script I can run when a button is pressed that will automatically turn the booleans to true or false depending on whether or not their checkboxes are checked?

  2. #2
    Forum Expert skywriter's Avatar
    Join Date
    06-09-2014
    Location
    USA
    MS-Off Ver
    2016
    Posts
    2,760

    Re: For each checkbox on userform, if checked, set "t" & (the check boxes name) = true

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic
    Click the * Add Reputation button in the lower left hand corner of this post to say thanks.

    Don't forget to mark this thread SOLVED by going to the "Thread Tools" drop down list above your first post and choosing solved.

+ 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. [SOLVED] UserForm CheckBox to output "Yes" instead of "True"
    By DomSza in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-07-2015, 10:30 AM
  2. [SOLVED] Check next row if value is, "FALSE," if "TRUE," return specified value from this row
    By Dave_Doodle in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 01-19-2015, 10:18 AM
  3. Need to Count number of Check Boxes checked on a userform
    By UMBiii in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-12-2014, 03:44 PM
  4. Replies: 1
    Last Post: 12-18-2013, 02:12 PM
  5. [SOLVED] At least one checkbox must be checked - "OLEObjects error"
    By henryBukowski in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 08-19-2013, 09:25 AM
  6. Remove "TRUE" "FALSE" words from a linked checkbox
    By MDCK in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-15-2008, 03:26 AM
  7. create links to check boxes marked "good" fair"and "bad"
    By pjb in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-19-2006, 09:25 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