excel open existing .xls and write dotnet

  • Thread starter Thread starter csgraham74
  • Start date Start date
C

csgraham74

Hi guys,

just wondering if anyone could - help me work out how to open an
existing spreadsheet in excel and write to it then save it.

I have some code that opens a new worksheet everytime but i want to
just write info to the smae worksheet.

Thanks
in advance


Colin
 
You can use OleDbCommand to 'Insert' data to worksheet.

HTH

Elton Wang
 

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