all groups > sql server reporting services > april 2005 >
You're in the

sql server reporting services

group:

rendering issue exporting to Excel


rendering issue exporting to Excel Hadyn Pkok
4/15/2005 12:41:03 PM
sql server reporting services:
OS = XP Pro latest sp, MS Office 2003 Pro latest sp

I am using SQL Reporting Services (sp1) to export data to Excel. My stored
proc requires a case statement with carriage returns to format Address data.
I have also deleted the carriage returns from the stored proc and written an
expression in the field using vbCrLf, but with the same results in both cases
(posted below).

For instance the IE report view looks correct as follows:

SRT: ATTN: Sales
1603 Plasma Ave
Stonewashed, IL 60135

When I export the report to Excel, the cell containing the address info gets
formatted with a blank line (within the cell) between each address line. For
instance:

SRT: ATTN: Sales

1603 Plasma Ave

Stonewashed, IL 60135

I am familiar with typical export issues related to Excel, but would very
much like to solve this issue since the rendering undermines the utility of
the report for the people receiving it. There are enough records to make a
manual update futile.

Any help would be welcome...

RE: rendering issue exporting to Excel Hadyn Pkok
4/15/2005 3:43:20 PM
From Poster: More info regarding export.

After saving the exported Excel file as XML, it shows what is causing the
issue:

-- It doubles the vbCrLf during export. Not sure how to make it
stop doing this however...

[quoted text, click to view]
AddThis Social Bookmark Button