Create/copy worksheets in an Excel doc in a C# app

  • Thread starter Thread starter Dan
  • Start date Start date
D

Dan

I have a c# app that creates and Excel doc, I would like
to know how to create new worksheets (tabs) in the excel
doc using c#?
 
Dan,

On the Worksheets object exposed by the Workbook object (through the
Worksheets property), you can call the Add method to add a new Worksheet.

Hope this helps.
 

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

Back
Top