views:

60

answers:

2

Hey,

is there a way to export XLS files in landscape format by default?

Thanks :-)

+1  A: 

Not sure of Excel, but found with export to PDF that setting the report size to a landcape format changed the orientation.

Johann Strydom
How would I do that?
grady
Set the report height to 210mm and the width to 297mm. That is the standard size for an A4 in landscape.
Johann Strydom
I did, nothing happened, strange...
grady
Sorry, as I said I've only tried it with PDF exports.
Johann Strydom
Yes, I tried it with PDF as well...clicking the print button on the ReportViewer control now says that it is landscape, but exporting to pdf is still portrait format. Did I miss anything?
grady
A: 

It seems setting the size works when the PDF is printer, the format is landscape when I click the print button on the ReportViewer control. But saving the files still doesnt work ... trying to print the saved file is still portrait format. Ideas?

Thanks!

grady
It works now, I did not see that it was landscape format already, shame on me. THANKS!
grady