+ Reply to Thread
Results 1 to 3 of 3

Checkbox VBA or formula Help

  1. #1
    Registered User
    Join Date
    03-28-2015
    Location
    us
    MS-Off Ver
    Office365
    Posts
    46

    Checkbox VBA or formula Help

    Hello all,

    We are trying to create an excel sheet that is easy to use for people that don't know excel well.

    We would like to have a formula or vba code that will add checkboxes to certain cells when a new row is selected within the selected row. If a new row is selected but nothing is entered we would like the check boxes to be remove. But if the new row gets data entered the checkboxes stay the same.

    Columns to get checkboxes with new row would be I, L, N, P, & R.

    Thank you in advance for any help!
    Josh

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2502
    Posts
    27,163

    Re: Checkbox VBA or formula Help

    I am not a big fan of dynamically created checkboxes on a worksheet. In addition, using this kind of VBA for a user who does not know Excel well could confuse the user, and you have to make sure they understand how to enable macros.

    How will these checkboxes be used? That is, once a user checks one, how is that used as some kind of data? Do you also want to link the checkboxes to cells?

    An option that works just as well, and is much easier to implement, is to have the user put an X into the cells rather than use checkboxes.

    Also, what does "when a new row is selected within the selected row" mean?

    To make any progress, regardless of the solution, we'll need a sample workbook. Please see yellow banner at the top of the page.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Registered User
    Join Date
    03-28-2015
    Location
    us
    MS-Off Ver
    Office365
    Posts
    46

    Re: Checkbox VBA or formula Help

    Quote Originally Posted by 6StringJazzer View Post
    I am not a big fan of dynamically created checkboxes on a worksheet. In addition, using this kind of VBA for a user who does not know Excel well could confuse the user, and you have to make sure they understand how to enable macros.

    How will these checkboxes be used? That is, once a user checks one, how is that used as some kind of data? Do you also want to link the checkboxes to cells?

    An option that works just as well, and is much easier to implement, is to have the user put an X into the cells rather than use checkboxes.

    Also, what does "when a new row is selected within the selected row" mean?

    To make any progress, regardless of the solution, we'll need a sample workbook. Please see yellow banner at the top of the page.
    Sorry I never replied to this, we ended using a Excel form instead. Thank you so much

+ 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: When Checkbox = True, Cell X1 = Date Checkbox was checked
    By jjward101 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-08-2022, 02:32 PM
  2. [SOLVED] Make Worksheet Active-X CheckBox value same as Userform CheckBox value
    By L plates in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-21-2016, 08:23 AM
  3. Protect the sheet but the form checkbox still can be change and sort by checkbox
    By carolyn1221 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-19-2014, 01:08 PM
  4. Replies: 0
    Last Post: 04-07-2014, 12:22 PM
  5. Lock cell linked to checkbox when checkbox is ticked
    By simeony003 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-30-2013, 10:08 AM
  6. Replies: 4
    Last Post: 07-22-2013, 01:37 PM
  7. [SOLVED] How do I change a checkbox to unchecked without running the code within the checkbox
    By jsunnb in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-27-2012, 09:28 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