I guess i didn't ask my question clearly. I want to disable and enable the button in my code before the form is run. Depending on which program runs, the button will be enable or disabled.
I don't know how to refer to the button in the object. When I modify the form and the buttons I see "optionsgroup1" then the buttons as "option1" , "option2" etc. This is what I don't know how to refer to in code.
Thanks in advance for your help! :-)
Randall L. Johnson