We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Excel "option button" controls

Thread ID:





81904 May 22,2009 03:47 PM May 26,2009 08:50 AM Windows Forms 1
Tags: XlsIO
Melinda Peirce
Asked On May 22, 2009 03:47 PM

Is there a way to get information about Option buttons or checkbox controls contained in an excel spreadsheet? I am opening an existing spreadsheet and reading the data in to an essential grid control cell by cell bringing all formatting also. Some of my excel documents may contain option groups or checkboxes inserted with the 'forms' toolbox, and I don't seem to be able to find them in the XlsIO spreadsheet object.

is there a way to do this?

Geetha M [Syncfusion]
Replied On May 26, 2009 08:50 AM

Hi Melinda,

Thank you for your interest in Syncfusion products.

You can check the existence of Group (option button) using the code snippet given below:

sheet.Range[2, 2, 4, 4].IsGroupedByRow;
sheet.Range[2, 2, 4, 4].IsGroupedByColumn;

Also using our latest version (v7.2.0.20), you can read and write checkboxes. Please refer to our documentation in the link below:

Please try this and let me know if you have any questions.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.