dbTalk Databases Forums  

Exporting data to preformatted excel spreadsheet...

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Exporting data to preformatted excel spreadsheet... in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Chris Smith
 
Posts: n/a

Default Exporting data to preformatted excel spreadsheet... - 12-02-2003 , 05:01 PM






I'm trying to export the results of a query to an excel worksheet that already has formatting defined on the columns. There are two "header" rows already present in the worksheet and these have different formats that the actual data that I'm exporting. The data transformation seems to work OK putting my data below the two heading rows, but the data rows pick up the formatting from the second heading row. I'm also seeing that when a cell contains and empty string as it's value, the following row looses all formatting for the cell for the rest of the worksheet.

Is there some way to keep the formatting from being overridden during the export.

Thanks

Reply With Quote
  #2  
Old   
dave
 
Posts: n/a

Default Exporting data to preformatted excel spreadsheet... - 12-04-2003 , 03:15 PM






Hello, curious if you found a solution to this. I have
the same formatting problem when exporting to excel. If
the first (example) 10 rows have data, and then one field
is blank, the next row of data i get a single quote
before the characters...which messes up anything to do
with numbers because excel wont perform the calculations
on the cells with the single quote...quite frustrating.
Ive searched for a solution, but havent found one
yet...if you have found one, please let me know.

Thanks

Quote:
-----Original Message-----
I'm trying to export the results of a query to an excel
worksheet that already has formatting defined on the
columns. There are two "header" rows already present in
the worksheet and these have different formats that the
actual data that I'm exporting. The data transformation
seems to work OK putting my data below the two heading
rows, but the data rows pick up the formatting from the
second heading row. I'm also seeing that when a cell
contains and empty string as it's value, the following
row looses all formatting for the cell for the rest of
the worksheet.
Quote:
Is there some way to keep the formatting from being
overridden during the export.

Thanks
.


Reply With Quote
Reply




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.