Accessing Radio/Option Buttons

Is it possible to access the radio buttons in the attached Excel document?


Thanks,
- J

Hi J,

I think you are talking about the shapes labeled as e.g “OptionButton24” and “OptionButton25”, well, these shapes are basically Pictures and not the Radio buttons. You may check the shapes and its types (in the sheet) using the sample code, e.g
Workbook wb = new Workbook(@“e:\test\Sample.xlsm”);
foreach (Aspose.Cells.Drawing.Shape shape in wb.Worksheets[“Request for CR”].Shapes)
{
MessageBox.Show(shape.GetType().ToString());
MessageBox.Show(shape.Name);
}

Thank you.