"Cdude" <ca*******@yahoo.comwrote in message
news:f0**********************************@a23g2000 hsc.googlegroups.com...
I need to export into excel but not into a new worksheet each time.I
want to add the exported dataset onto an existing spreadsheet that
already has rows on it. I may have not written this to well. Please
any suggestions. Thanks
Marcin's reply will work well if you need to add only basic data to the
existing Excel spreadsheet. However, if you need anything more than this
(e.g. formatting, formulas etc), then you could use Office Automation via
COM / Interop. However, this would require a copy of Excel installed on the
same machine as your C# app.
Alternatively, this will do what you require without a copy of Excel:
http://www.aspose.com/categories/fil...a/default.aspx
--
Mark Rae
ASP.NET MVP
http://www.markrae.net