Instantiating a .NET Excel Worksheet

A

anthony.gilliam

Hi readers,

Thanks for looking at this artical.


I've made an office project in C# based on an Excel Workbook
template. The project has checkbox controls on a worksheet
(worksheet1) that I'd like to manipulate


I've referenced this project into another solution in which I would
like to interface with a Worksheet in the work book template. How
could I make an instance of the Excel workbook from the 1st project
in
the solution so that I could manupulate the checkboxes on the
worksheet?


I've tryed:


worksheet1 wrksht = new worksheet1();


This syntax keeps coming up with the error: No overload for method
'worksheet1' takes '0' arguments. I'm not sure I'm going about this
the right way. If you know at all how to make an instance of a .NET
workbook project from another solution, please let me know.


Thanks in advance
 
A

anthony.gilliam

Hi readers,

Thanks for looking at this artical.

I've made an office project in C# based on an Excel Workbook
template. The project has checkbox controls on a worksheet
(worksheet1) that I'd like to manipulate

I've referenced this project into another solution in which I would
like to interface with a Worksheet in the work book template. How
could I make an instance of the Excel workbook from the 1st project
in
the solution so that I could manupulate the checkboxes on the
worksheet?

I've tryed:

worksheet1 wrksht = new worksheet1();

This syntax keeps coming up with the error: No overload for method
'worksheet1' takes '0' arguments. I'm not sure I'm going about this
the right way. If you know at all how to make an instance of a .NET
workbook project from another solution, please let me know.

Thanks in advance

If anyone would care to answer, I just like to know if this is a very
difficult questions or it too newbish to respond to?
 

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