ColdFusion creating Excel file

Reply

Join Date: Nov 2009
Posts: 2
Reputation: elizabeth1 is an unknown quantity at this point 
Solved Threads: 0
elizabeth1 elizabeth1 is offline Offline
Newbie Poster

ColdFusion creating Excel file

 
0
  #1
23 Days Ago
Does anyone know if it is possible to format the Excel spreadsheet (dynamically created using ColdFusion and pulling from a MySQL database) to have the Excel file automatically set to landscape, rather than portrait for printing. My client wants that Excel spreadsheet formatted for him. I have the borders and colors and headers set, but I'm told they've seen this done before, so I was hoping someone could tell me how, or point me in the right direction. I've done a google search, but can't find anything about this. The only way that I can imagine it could be done, is if the data is being put into an Excel file that is acting as a template, with all the features set in advance, but I don't know if that's possible using ColdFusion, nor have I ever seen it done. Any help is greatly appreciated.

Thank you in advance.
elizabeth
Last edited by elizabeth1; 23 Days Ago at 4:59 pm.
Reply With Quote Quick reply to this message  
Join Date: Dec 2008
Posts: 2
Reputation: elixir is an unknown quantity at this point 
Solved Threads: 0
elixir elixir is offline Offline
Newbie Poster
 
0
  #2
23 Days Ago
use this css property..

mso-page-orientation:landscape;

apply this to the body.

check this page comment # 3. You can get a idea if u need a code level help.

else reply to the thread again
Reply With Quote Quick reply to this message  
Reply

Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC