View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Phil Perry Phil Perry is offline
external usenet poster
 
Posts: 10
Default unticking option buttons

I've had the following code suggested for clearing
option buttons (so they are made 'unchecked').

for each oleObje in ActiveSheet.OleObjects
if typeof oleObje.Object is MSforms.OptionButton then
oleObj.Object.Value=False
End If
Next

while the code is accepted, it doesn't do the job (i.e.
the boxes remain checked). Not sure if I'm meant to be
adding more code to make this work. Your help will be
appreciated.
Thank you.