PC Review


Reply
Thread Tools Rate Thread

Appending rows in excel from C#

 
 
=?Utf-8?B?S2V2aW5C?=
Guest
Posts: n/a
 
      29th May 2007
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.
--
Kevin C. Brown
Developer
The Darby Group
 
Reply With Quote
 
 
 
 
Tim
Guest
Posts: n/a
 
      29th May 2007
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


"KevinB" <(E-Mail Removed)> wrote in message
news:17A570BA-1AC3-4C4D-8AE6-(E-Mail Removed)...
>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.
> --
> Kevin C. Brown
> Developer
> The Darby Group



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Appending/merging rows horizontally miaparisian@gmail.com Microsoft Excel Discussion 1 30th Oct 2006 09:13 PM
Appending between rows =?Utf-8?B?UmljaA==?= Microsoft Access Queries 6 25th Oct 2005 04:36 PM
appending rows to datatable =?Utf-8?B?c2hhbmthcg==?= Microsoft C# .NET 2 21st Feb 2005 11:10 AM
appending rows to excel file =?Utf-8?B?VFM=?= Microsoft Access External Data 3 1st Feb 2005 07:20 PM
Appending the rows of several tabs in xls sheets? Pat Microsoft Excel Discussion 3 26th Jan 2004 11:22 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:00 PM.