2014-12-07 43 views

回答

1

,你可以得到的Excel选项按钮,用指数作为跟踪

Microsoft.Office.Interop.Excel.OptionButton opt = (Microsoft.Office.Interop.Excel.OptionButton)currentSheet.OptionButtons(1); 
+0

感谢它为我工作,我想知道如何设置选中或取消选中状态,该选项按钮,我不能找到方法来设置在这个对象中。 – user1147987 2014-12-08 04:27:08

+1

你可以将值字段设置为true或false'opt.Value = true //对于检查' – KyawLay 2014-12-08 04:47:32

+0

非常感谢这就是我想要的 – user1147987 2014-12-08 04:49:21

相关问题