Hi All ,
I have couple of questions regarding PROC PRINT .
1. How can I align title from column 1 . It always comes in the center .
2. how can I increase the font only for Title
3. I have 7 variables which come in column in proc print . How can I make it tabular . so that it will be easy to upload the output to a xl file .
Please suggest .
Have you tried applying any options?
Justify/J for alignment
HEIGHT for size
I don't understand your third question. But if you're trying to get an XLSX file, just use ODS EXCEL.
ods excel file="myfile.xlsx" style=seaside;
title j=l height=20 "This is a demo";
proc print data=sashelp.class;
run;
ods excel close;
@sams54156 wrote:
Hi All ,
I have couple of questions regarding PROC PRINT .
1. How can I align title from column 1 . It always comes in the center .
2. how can I increase the font only for Title
3. I have 7 variables which come in column in proc print . How can I make it tabular . so that it will be easy to upload the output to a xl file .
Please suggest .
thanks for the reply .
I used this ,
proc print data=BASEFILE noobs;
TITLE1 "TOTAL NO OF EXCEPTION : &nobs" height=50 JUSTIFY=L;
options nodate;
This didn't increase the font neither did it align the title to left .
TOTAL NO OF EXCEPTION
@sams54156 wrote:
thanks for the reply .
I used this ,
proc print data=BASEFILE noobs;
TITLE1 "TOTAL NO OF EXCEPTION : &nobs" height=50 JUSTIFY=L;
options nodate;
This didn't increase the font neither did it align the title to left .
TOTAL NO OF EXCEPTION
The modifiers come before the text that you want to modify. Since you placed all of the modifiers after all the text there was nothing to modify.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.