View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Michael Michael is offline
external usenet poster
 
Posts: 791
Default option button question

I don't think you need to select the button itself, but what you can do is
call at the end of the unrelated macro the execution of the code to
protect/unprotect sheets

Call ProtectSheet


--
If this posting was helpful, please click on the Yes button.
Regards,

Michael Arch.




"JoshC" wrote:

i have an option button on my worksheet to protect/unprotect all sheets.
when a different/nonrelated macro is run i want it automatically select the
"protect" option button (OptionButton1) when it is finished. this has to be
simple but i just cannot figure it out. any ideas? thanks for your help!

-josh