URGENT : How to get CHECKBOX object value from a Excel Worksheet by a C# Class

G

Guest

As subject...

I wanna get the value of some Visual Basic Object (Checkbox) in a Excel
Worksheet by calling a C# class / VB.NET class....

May I ask for advice ???

What I got ....only Excel application, workbook, worksheet....and so on...
Excel.Application excelApp = new Excel.ApplicationClass();
Excel.Workbook excelWorkbook;
Excel.Sheets excelSheets;
Excel.Worksheet excelWorksheet ;
 
G

Guest

I am not familiar with c#, however the checkbox objects parent is the
worksheet. For example in VBA
Worksheets("sheet2").CheckBox1.Value - contains the "checked" indicator

You indicated below that you can access the worksheet object, the checkbox
is a child object

HTH
Lance
 
G

Guest

Thank you so much......I try this way out....thx

LanceB said:
I am not familiar with c#, however the checkbox objects parent is the
worksheet. For example in VBA
Worksheets("sheet2").CheckBox1.Value - contains the "checked" indicator

You indicated below that you can access the worksheet object, the checkbox
is a child object

HTH
Lance
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top