+ Reply to Thread
Results 1 to 3 of 3

vba to make a checkbox return Yes or No

  1. #1
    Forum Contributor
    Join Date
    06-03-2008
    MS-Off Ver
    Excel 2007 (also have access to Excel 2000/2003)
    Posts
    368

    vba to make a checkbox return Yes or No

    Hi,

    I have created a userform with a check box which when selected returns either "TRUE" or "FALSE". I need it to return Yes or No.

    Is there a way to do this please?

    Thanks in advance.

  2. #2
    Forum Expert mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    6,229

    Re: vba to make a checkbox return Yes or No

    Where do you want this "Yes"/"No" returned?
    If you want it returned to a cell, code like this should work
    Please Login or Register  to view this content.
    _
    ...How to Cross-post politely...
    ..Wrap code by selecting the code and clicking the # or read this. Thank you.

  3. #3
    Forum Contributor
    Join Date
    06-03-2008
    MS-Off Ver
    Excel 2007 (also have access to Excel 2000/2003)
    Posts
    368

    Re: vba to make a checkbox return Yes or No

    Hi,

    Thank you for the reply. The checkbox already has code attached to it:

    Please Login or Register  to view this content.
    In order to return a value onto a range within a sheet.

    Is there a way to add your code to it? I'm new to vba and can't work it out?

    Thanks in advance.

+ 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