+ Reply to Thread
Results 1 to 3 of 3

Userform checkbox - need to return "Yes" or "No" to worksheet

  1. #1
    Registered User
    Join Date
    02-20-2018
    Location
    USA
    MS-Off Ver
    2016
    Posts
    7

    Question Userform checkbox - need to return "Yes" or "No" to worksheet

    I have a userform checkbox that I need to have send a "Yes" or "No" to my worksheet. When "Save" is selected, it adds the info from the userform to the last row of the Excel table. I added the code below, and it returns True/False on the row with the data from the userform, and no data on the next row, only Yes/No. Basically, everything works, but the Yes/No needs to be 1 row higher in place of the True/False. I am new to VBA, and have searched for a solution, but can't seem to make anything work. Any ideas how to fix this?

    vba4.JPG

    Please Login or Register  to view this content.
    Attached Files Attached Files

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Userform checkbox - need to return "Yes" or "No" to worksheet

    Try this.
    Please Login or Register  to view this content.
    Actually, based on the data validation in column K I think you'll need this.
    Please Login or Register  to view this content.
    If posting code please use code tags, see here.

  3. #3
    Registered User
    Join Date
    02-20-2018
    Location
    USA
    MS-Off Ver
    2016
    Posts
    7

    Re: Userform checkbox - need to return "Yes" or "No" to worksheet

    That worked perfect! Thanks for the quick reply!

+ 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: 5
    Last Post: 02-05-2019, 12:03 AM
  2. [SOLVED] Column X-Ref list - Sheet1 Col A "pages", Col B:FL "Req" to Sheet2 ColA "req", ColB "page"
    By excel-card-pulled in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 04-07-2017, 09:30 AM
  3. [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
  4. Replies: 5
    Last Post: 01-23-2014, 11:02 AM
  5. [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
  6. Return "green", "yellow" or "red" from date/age and priority ranking
    By Cantaloop in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-04-2013, 12:12 AM
  7. Replies: 3
    Last Post: 02-16-2011, 02:55 PM

Tags for this Thread

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