Consulting

Results 1 to 4 of 4

Thread: Sleeper: Checkboxes on worksheet

  1. #1
    VBAX Mentor Marcster's Avatar
    Joined
    Jun 2005
    Posts
    434
    Location

    Question Sleeper: Checkboxes on worksheet

    This may be an easy one?.

    I have several checkbox's on a worksheet and I want to display in the cell next to them a value which is based on weather it has been ticked and if so, add 1 to the count of previously checked checkboxes. This is done after pressing a button.

    Like so:
    Column Ticked? Cell Value
    [Checkbox] True 1
    [Checkbox] False
    [Checkbox] True 2
    [Checkbox] False
    [Checkbox] True 3


    How is this done?

    Thanks,

    Marcster.

  2. #2
    VBAX Expert
    Joined
    Feb 2005
    Posts
    929
    Location
    Quote Originally Posted by Marcster
    This may be an easy one?.

    I have several checkbox's on a worksheet and I want to display in the cell next to them a value which is based on weather it has been ticked and if so, add 1 to the count of previously checked checkboxes. This is done after pressing a button.

    Like so:
    Column Ticked? Cell Value
    [Checkbox] True 1
    [Checkbox] False
    [Checkbox] True 2
    [Checkbox] False
    [Checkbox] True 3


    How is this done?

    Thanks,

    Marcster.
    I assume that by " ...add 1 to the count of previously checked checkboxes. ..." you mean the count of all checked checkboxes above at any given time and not the count of all checked checkboxes that have ever been checked?
    "It's not just the due date that's important, it's also the do date" [MWE]

    When your problem has been resolved, mark the thread SOLVED by clicking on the Thread Tools dropdown menu at the top of the thread.

  3. #3
    VBAX Mentor Marcster's Avatar
    Joined
    Jun 2005
    Posts
    434
    Location
    I assume that by " ...add 1 to the count of previously checked checkboxes. ..." you mean the count of all checked checkboxes above at any given time and not the count of all checked checkboxes that have ever been checked?
    Hi MWE,

    Anytime the button is pressed (the Cell Value is reset) it will display the results in the Cell Value column.


    Marcster.

  4. #4
    VBAX Mentor Marcster's Avatar
    Joined
    Jun 2005
    Posts
    434
    Location
    Decided to do the task a different way.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •