Link to home
Create AccountLog in
Avatar of melli111
melli111Flag for United States of America

asked on

Excel Export Splitting columns up

I have a Report viewer in ASP.NET.  I have a report displayed that works fine.  The report viewer has the option to export the data to an Excel file or PDF file.  When the user exports the file to Excel, Excel takes the lines of data and splits it up into 2 columns, as in the screen shot below.  I have all of the columns lined up in the Report in Visual Studio.  The columns are, however, in different matrices in Visual Studio.  Anyone have any ideas on how to get the data into one column?
Avatar of melli111
melli111
Flag of United States of America image

ASKER

Avatar of Saqib Husain
select cells E9:E30

right-click on the selection

select delete

select shift cells left
I understand how to do that, my question was more along the lines of is there anything I can do programatically to fix this issue?  Or the alignment of the report elements in Visual Studio?  I want to do this as there are users who are not as proficient in Excel as you or I.
Hello, I just found this question in my open questions. Do you want to continue with it?
Yes, I would like to.  I have not found a solution yet.
Can you please upload a sample if they are all in a same format? If the format changes then send at least two so that I can see the variation.
ASKER CERTIFIED SOLUTION
Avatar of Saqib Husain
Saqib Husain
Flag of Pakistan image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
I've requested that this question be deleted for the following reason:

No longer needed
You asked for a solution and I gave it. You should either accept it or, if it does not work as expected, comment on it so that it may be addressed.
#35869182 works with the layout shown in the screenshot after the question