C# and Excel

  • Thread starter Thread starter Kfir Marouani
  • Start date Start date
K

Kfir Marouani

Hi,
I'm trying to append data to an existing Excel file (.xls).
I've managed to find a way to write data to an Excel sheet but when I try to
do the same to a file that already contains data it saves it as a new file
without that data.

Any ideas?
Thanks in advance.
-Kfir
 
Kfir,

Can you show the code you are using to write to the excel file? Without
seeing that, it's nearly impossible to tell.
 
Ok...

Nicholas Paldino said:
Kfir,

Can you show the code you are using to write to the excel file?
Without
seeing that, it's nearly impossible to tell.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Kfir Marouani said:
Hi,
I'm trying to append data to an existing Excel file (.xls).
I've managed to find a way to write data to an Excel sheet but when I try
to do the same to a file that already contains data it saves it as a new
file without that data.

Any ideas?
Thanks in advance.
-Kfir
 
Kfir,

There was nothing in the attachment.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Kfir Marouani said:
Ok...

Nicholas Paldino said:
Kfir,

Can you show the code you are using to write to the excel file?
Without
seeing that, it's nearly impossible to tell.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Kfir Marouani said:
Hi,
I'm trying to append data to an existing Excel file (.xls).
I've managed to find a way to write data to an Excel sheet but when I
try
to do the same to a file that already contains data it saves it as a new
file without that data.

Any ideas?
Thanks in advance.
-Kfir
 

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