I want to check a couple of hundred optionbuttons and for each optionbutton that's true a particular cell has to become 1 or zero.

How can I do this??