The SAS Output Delivery System and reporting techniques

ods powerpoint - left justify sas output

Accepted Solution Solved
Reply
Super Contributor
Posts: 297
Accepted Solution

ods powerpoint - left justify sas output

My basic code below.

 

Is there a way to force the tabulate output to be left justified on the ppt slide? I'd like to have some blank space on the right to add a text box.

 

ods powerpoint file="c:\temp\Table20.pptx" image_dpi=300;

 

proc tabulate data=table;

etc;
run;

 

ods _all_ close;

 

 

Thank you,
Bill


Accepted Solutions
Solution
‎02-27-2018 04:46 PM
Trusted Advisor
Posts: 1,389

Re: ods powerpoint - left justify sas output

[ Edited ]

You can use

   OPTIONS NOCENTER;

 

which is an ancient 1960's (or early 70's) option meant to left justify LISTING output.  It appears that ODS destinations also honor that option.  Put the OPTIONS statement prior to the set of procedures you want to be left justified.  You can issue it once, as it is a global statement and will be honored until you issue an

  OPTIONS CENTER;

statement, which restores the SAS default setting.

View solution in original post


All Replies
Solution
‎02-27-2018 04:46 PM
Trusted Advisor
Posts: 1,389

Re: ods powerpoint - left justify sas output

[ Edited ]

You can use

   OPTIONS NOCENTER;

 

which is an ancient 1960's (or early 70's) option meant to left justify LISTING output.  It appears that ODS destinations also honor that option.  Put the OPTIONS statement prior to the set of procedures you want to be left justified.  You can issue it once, as it is a global statement and will be honored until you issue an

  OPTIONS CENTER;

statement, which restores the SAS default setting.

Super Contributor
Posts: 297

Re: ods powerpoint - left justify sas output

Thanks! Works like a charm.
☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats
  • 2 replies
  • 168 views
  • 0 likes
  • 2 in conversation