Home |
Search |
Today's Posts |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
We have a 2003 spreadsheet with a check box. We are trying to retrieve
the values from this through a .NET 2008 windows application. 1. We have included Office.Interop.Excel and VBE.Interop.Forms in the code. 2. We have added the checkbox from the toolbar and not through code. 3. We tried Excel.CheckBox cb = (Excel.CheckBox)workSheet.Shapes.Item("CheckBox4") .OLEFormat.Object; and got Specified Cast is not Valid 4. We tried Forms.CheckBox cb = (Forms.CheckBox)workSheet.Shapes.Item("CheckBox4") .OLEFormat.Object; and got Specified Cast is not Valid Please help. *** Sent via Developersdex http://www.developersdex.com *** |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Check Boxes In Excel | Excel Discussion (Misc queries) | |||
Check Boxes In Excel | Excel Discussion (Misc queries) | |||
Help with Comparing values and retrieving values in Excel!!!!!! | Excel Worksheet Functions | |||
How do i set up check boxes in excel? | New Users to Excel | |||
Using Check boxes in Excel | Excel Worksheet Functions |