Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I want to have a check box which when checked will take a value from another
cell and add it to a total in a third cell. I also would like to use the same macro connected to more than one check box, doing the same thing.This is my first attempt at using more than a simple macro & I have no idea how to go about it. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
hi, john !
I want to have a check box which when checked will take a value from another cell and add it to a total in a third cell. I also would like to use the same macro connected to more than one check box, doing the same thing. This is my first attempt at using more than a simple macro & I have no idea how to go about it. (first:) decide and comment what the correlation is between each element (let's say...) - how many checkboxes do you need ? (and their corresponding "another" and "third" cells ?) - when checked "which" checkbox, the macro will take the value from "which" another cell and will add this value to the total in "which" third cell (???) - each "third" cell has formulae ? (or hard data in it ?) - your idea is to use checkboxes from "forms" toolbar, or from (activex) "controls" toolbar ? - what it is supposed the macro will do every time you "uncheck" any (previously checked) checkbox ? regards, hector. |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Héctor.
Thanks for your reply. I've since thought of an easier solution. I can use a loop function to count the number of boxes checked in a column(6 or 7) and display the number in a cell below. I can then just multiply this number by another from a different cell (no macro required). I just don't know how the programme recognises if a cell is checked or not. I would be using a check box from the "forms" toolbar. John "Héctor Miguel" wrote: hi, john ! I want to have a check box which when checked will take a value from another cell and add it to a total in a third cell. I also would like to use the same macro connected to more than one check box, doing the same thing. This is my first attempt at using more than a simple macro & I have no idea how to go about it. (first:) decide and comment what the correlation is between each element (let's say...) - how many checkboxes do you need ? (and their corresponding "another" and "third" cells ?) - when checked "which" checkbox, the macro will take the value from "which" another cell and will add this value to the total in "which" third cell (???) - each "third" cell has formulae ? (or hard data in it ?) - your idea is to use checkboxes from "forms" toolbar, or from (activex) "controls" toolbar ? - what it is supposed the macro will do every time you "uncheck" any (previously checked) checkbox ? regards, hector. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Copy and move check box (check boxes) with new cell link? | Excel Worksheet Functions | |||
all the check boxes should be checked if i check a particular checkbox in that row | Excel Programming | |||
How do I increase the size of check in check boxes | Excel Discussion (Misc queries) | |||
Enable check box in protected sheet + group check boxes | Excel Discussion (Misc queries) | |||
How do i create a value for check boxes or option boxes | Excel Discussion (Misc queries) |