+ Reply to Thread
Results 1 to 6 of 6

Change output value of checkbox

  1. #1
    Registered User
    Join Date
    06-22-2010
    Location
    Dallas TX
    MS-Off Ver
    Excel 2003
    Posts
    37

    Change output value of checkbox

    Hi, advanced thanks for you help,

    I've created a userform containing several checkboxes. I wish to change the current "True/False" returns to the spreadsheet into "Pass/Fail". Here is code I've written so far....

    Please Login or Register  to view this content.
    Last edited by Cutter; 07-31-2012 at 01:23 PM. Reason: Added code tags

  2. #2
    Forum Expert mike7952's Avatar
    Join Date
    12-17-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007, Excel 2016
    Posts
    3,551

    Re: Change output value of checkbox

    @melcoats,

    You should use the code tags when posting codes in your message. Its easier to read. Here's a function that you can pass your checkbox to and will return Pass if checkbox value is true and fail if checkbox value is false.

    Please Login or Register  to view this content.
    Example:
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    06-22-2010
    Location
    Dallas TX
    MS-Off Ver
    Excel 2003
    Posts
    37

    Re: Change output value of checkbox

    Thanks Mike7952,

    Next time I post I will use code tags.....newbie mistake.

    Thanks for the solution!

  4. #4
    Forum Expert mike7952's Avatar
    Join Date
    12-17-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007, Excel 2016
    Posts
    3,551

    Re: Change output value of checkbox

    No problem, glad I could help!

  5. #5
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Change output value of checkbox

    Next time I post I will use code tags.....newbie mistake.
    You've been a member for more than 2 years! You should have edited your post when the omission was pointed oit to you by mike7952. I have added the code tags for you.

    Based on your last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as SOLVED. I'll do that for you now but please keep in mind for your future threads that Rule #9 requires you to do that yourself. If your problem has not been solved you can use Thread Tools (located above your first post) and choose "Mark this thread as unsolved".
    Thanks.

  6. #6
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Change output value of checkbox

    @melcoats

    ...in addition please note the forum rules . You should not duplicate posts.

    I was too late this time but normally your second post would have been frozen/removed.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

+ 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