C# to load DataTable to ActiveSheet

D

Dan Ricker

The error may be missleading.

The first thing that comes to my mind is the argument
arrSheet1 which is a "string" array. OWC does not
understand CLR String objects so possibly casting the
array to object[] may help.

I'm not that knowledgeable about the SpreadSheet OM but
in line:

OWC10.Range m_objRange = xlsheet.get_Range
("A2", "Q3000" );

There may need to be a reference to which sheet you are
trying to get the range from???

Hope this helps some..

Dan
 

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