I want to be able to add all the prices of each row item if the item is checked off...
so for example:
A B C
item1 $5 checked (assume a checkbox)
item2 $3 not checked
item3 $4 cheked
total $9
I know this can be done but being as I've never written VBA for excel im a little unsure of how to go about it (i've written many Access applications using VBA)...
I know I will need something of this sort but again, not sure how to best implement it:
Dim ctrl As Control
For Each ctrl In activesheet.Controls
If TypeName(ctrl) = "CheckBox" Then
add the items...
End If
Next ctrl
Thanks for your help!
so for example:
A B C
item1 $5 checked (assume a checkbox)
item2 $3 not checked
item3 $4 cheked
total $9
I know this can be done but being as I've never written VBA for excel im a little unsure of how to go about it (i've written many Access applications using VBA)...
I know I will need something of this sort but again, not sure how to best implement it:
Dim ctrl As Control
For Each ctrl In activesheet.Controls
If TypeName(ctrl) = "CheckBox" Then
add the items...
End If
Next ctrl
Thanks for your help!