I use SAS ODS a lot to export prettied up excel files. One in particular has titles that go significantly longer than the width of all of the columns, so they word wrap, which makes the file look horrible.
Is there any way to export a file with word wrap turned off? I've searched on the SAS support forums, and have found very little helpful information.
%let myfile = "C:\Users\dicegods\testfile.xlsx";
ods excel file=&myfile. options (orientation='portrait' sheet_name='Baseball' embedded_titles='yes');
options LeftMargin=0.25in RightMargin=0.25in TopMargin=0.25in BottomMargin=0.25in;
proc report data=sashelp.baseball;
column name nHome nHits;
define name / display 'Name';
define nHome / display 'Homers' sum;
define nHits / analysis 'Hits' sum;
title; title1 J=L "Baseball Players from SAS Help Database - sashelp library inEG - more run on stuff";
run;
%let myfile = "C:\Users\dicegods\testfile.xlsx"; ods excel file=&myfile. options (orientation='portrait' sheet_name='Baseball' embedded_titles='yes'); options LeftMargin=0.25in RightMargin=0.25in TopMargin=0.25in BottomMargin=0.25in; proc report data=sashelp.baseball; column name nHome nHits; define name / display 'Name'; define nHome / display 'Homers' sum; define nHits / analysis 'Hits' sum; title; title1 J=L "Baseball Players from SAS Help Database - sashelp library in EG - more run on stuff"; run;
– dicegods