Thread: cell value
View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
Bob Phillips[_6_] Bob Phillips[_6_] is offline
external usenet poster
 
Posts: 11,272
Default cell value

Why not use optionbuttons? When you click one the other toggles as well.

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"DanDavis" wrote in message
...
i need to do this programatically, the whole story is this, i have 2
checkboxes on the same row. when i check the 1st box i have some

conditional
formating that happens. but when i check the 2nd box, i have the orginal

cf
removed and a new cf put into place. i do this by playing with the value

of
the 1st checkbox when the 2nd checkbox is clicked. my problem is if i

only
click the 2nd check box and then uncheck it, the 1st cf is enacted becasue
the 1st checkbox value changes from false to true. i need to a check put
into place when i unclick the 2nd checkbox to see if the value of the 1st
checkbox should or should not be true. the check would be if cell D2
contains information then the value of the 1st checkbox should be true
otherwise it should be false.

example if value of cell d2 is true then checkbox1.value = true else
checkbox1.value = false

"Carim" wrote:

Simply type in the cell C3 :
=if(C2="yes",5,10)
HTH
Carim