hi guys
i’m trying to whether checked or unchecked in excel form-control using vb.net
and i got the answer below code
checkboxControl = CType(xlWorksheet.CheckBoxes("CheckBox1"), Microsoft.Office.Interop.Excel.CheckBox)
If checkboxControl.Value = Microsoft.Office.Interop.Excel.XlTriState.xlOn Then
but i can’t find Microsoft.Office.Interop.Excel.XlTriState.xlOn << maybe PIA(Primary Interop Assemblies…) how can i use this??