Appending rows in excel from C#

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am opening an existing spreadsheet and appending rows from a SQL Db. The
rows are being appended correctly where I want them to be, ex. starting at
N15. However, the existing content, from A1:M519, is being wiped out. The
data I am adding will always be placed at the end of the existing content.
Any ideas on how to keep the existing stuff from being wiped out?

Thanks in advance.

Regards.
 
How about showing your code?

It's difficult to suppose that Excel is deciding on its own to remove the
existing data, so the obvious suggestion on how to avoid this is to change
your code, but not having seen it it's not possible to be any more
explicit...

Tim
 

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