+ Reply to Thread
Results 1 to 4 of 4

Data Entry Form with Multiple Checkboxes

  1. #1
    Registered User
    Join Date
    04-14-2021
    Location
    Wisconsin
    MS-Off Ver
    Office 365
    Posts
    2

    Data Entry Form with Multiple Checkboxes

    I'm creating an Excel Data Entry form with checkboxes and I would like to allow the user to select multiple checkboxes so the Excel cell reads "Multivitamin, Vitamin D, etc." instead of just "Multivitamin"

    Here's the code that is currently only adding the information from the first selected checkbox instead of multiple selected checkboxes
    Please Login or Register  to view this content.

    Sample Excel worksheet:
    Worksheet.jpg

    User form:
    UserFormScreenshot.jpg

  2. #2
    Forum Contributor
    Join Date
    02-09-2021
    Location
    New York
    MS-Off Ver
    Office 2019
    Posts
    145

    Re: Data Entry Form with Multiple Checkboxes

    Hi GraceAnna,

    I'm not sure if this is the answer maybe you need to make a true/false statement when checkbox is checked off.

    https://analysistabs.com/vba-code/ex...form/checkbox/


    So I think you may need to modify your code:

    Please Login or Register  to view this content.

    Hope this helps.

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

    Re: Data Entry Form with Multiple Checkboxes

    GraceAnna

    If you want a list of the selected items to appear in a single cell you need to use Join.

    This code will create a list of items with comma as a delimiter.
    Please Login or Register  to view this content.
    If posting code please use code tags, see here.

  4. #4
    Registered User
    Join Date
    04-14-2021
    Location
    Wisconsin
    MS-Off Ver
    Office 365
    Posts
    2

    Re: Data Entry Form with Multiple Checkboxes

    Thank you! Now it's working

    Please Login or Register  to view this content.

+ 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. How to populate multiple cells from multiple checkboxes from a VBA Form in Excel
    By veresistvan in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 03-23-2021, 04:36 PM
  2. VBA Form set up with multiple data entry on worksheet
    By bsljoanne in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-10-2020, 07:43 AM
  3. Data Entry Form with multiple sheets
    By nimesh29 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-27-2015, 01:04 PM
  4. Search Excel database with multiple criteria to simulate the built-in data entry form
    By DanB22000 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-03-2014, 09:42 PM
  5. Need Help With Data Entry Form With Multiple Search
    By ssmart in forum Excel General
    Replies: 3
    Last Post: 02-20-2012, 09:30 AM
  6. Data Entry Form using multiple cells and rows - Excel 2007
    By Razor959 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-11-2012, 10:13 AM
  7. Creating a Custom Data Entry Form to Update Multiple Excel Records at Once
    By Scotty81 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 01-19-2009, 04:30 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