If you're using an optionbutton on a userform or an optionbutton from
the control toolbox toolbar, then in design mode, doubleclicking the
option button will take you to the code for the click event for that
option button.
If you're using an optionbutton from the Forms toolbar on an excel
sheet you can assign it a macro as you would a normal button.