Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Appending rows in excel from C#

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
  #2   Report Post  
Posted to microsoft.public.excel.programming
Tim Tim is offline
external usenet poster
 
Posts: 145
Default Appending rows in excel from C#

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" wrote in message
...
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
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Appending rows from multiple sheets into one Amy Excel Discussion (Misc queries) 0 October 22nd 09 06:55 PM
appending one Excel file to another ? George Lewycky Excel Worksheet Functions 2 November 14th 08 07:37 PM
Appending or Concatenating rows by Client Dina Excel Worksheet Functions 2 June 13th 07 03:27 PM
Appending Two or More Excel Sheets SD[_3_] Excel Programming 1 January 25th 07 06:20 AM
shared workbook appending/merging rows of data from several worksh Smilingout_loud Excel Discussion (Misc queries) 1 December 26th 06 07:52 PM


All times are GMT +1. The time now is 03:42 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"