Find and read/update option button

  • Thread starter Thread starter David Chase
  • Start date Start date
D

David Chase

I have an Access program that reads and populates an Excel workbook.
However, now I want to be able to read and/or update the values. The
workbook has 4 option buttons (radio buttons) that when you click on one,
the current selection is turned off. In Access we call this an Option
Group. Someone created a template and is no longer available. Thanks.

David
 
David,

Do you just want to clear the OB from code?

xlApp.Activeworkbook.ActiveSheet.OptionButtons("Option Button 1").Value
= False


--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)
 
Actually, I figured out the named range name and used the following and
it works. Thanks.

m_objWorkbook.ActiveSheet.Range("wfam").Value = 1

David
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top