Create Excel worksheet in .Net

B

Brian Johnson

I am trying to create multiple (named) worksheets in excel
using .Net PIA's. I have successfully created an excel
document and set cell values, but have been unable to
manipulate which worksheet I am using and naming the
worksheet.

Here is current sample (VB.Net):
dim xl as new excel.application()
xl.workbooks.Add()
xl.cells(1,1).Value = "test"

Any help or pointing to some documentation would be
helpful!

Thanks.
 

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