BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Dave25
Quartz | Level 8

 

Any ideas why my Header Border works in pdf but not in powerpoint? (or, any ideas what I could do differently to get it to work?)

 

included stripped down program code.

thanks!

Dave

 


data test;
input School $ val1 val2;
cards;
A 1 2
B 1 2
;

run;


ods pdf file = 'C:\temp\test.pdf';
ods powerpoint file = 'C:\temp\test.pptx';
ods escapechar = "^";

proc report data=test;
column School ("^{style[borderrightcolor=Black borderrightwidth=8 ] Span}" val1 val2);
define val1/display style=[just=center FONT_SIZE=12pt cellwidth=1.4 cm cellheight=.35 cm borderrightwidth=5];;
define val2/display style=[just=center FONT_SIZE=12pt cellwidth=1.4 cm cellheight=.35 cm borderrightwidth=8 borderrightcolor=Black];;
run;
ods pdf close;
ods powerpoint close;

1 ACCEPTED SOLUTION

Accepted Solutions
Dave25
Quartz | Level 8

Thanks Cynthia - i checked with SAS technical support, this was their reply:

 

This is a known defect for multiple destinations including PowerPoint. It is being addressed in a future release of SAS.  Currently there is no work-around for the PowerPoint destination.

View solution in original post

2 REPLIES 2
Cynthia_sas
SAS Super FREQ
Hi,
You'd have to check with Tech Support for the definitive answer or in the documentation, but I remember that many of the "border" specific attributes are only valid in markup family destinations, the RTF destination, and the Measured RTF destination and sometimes in the Printer family destinations and sometimes in HTML destinations.

If you check the documentation and the destination, like PowerPoint or ODS Excel is not explicitly listed, then I would not expect the attribute to work.

Cynthia
Dave25
Quartz | Level 8

Thanks Cynthia - i checked with SAS technical support, this was their reply:

 

This is a known defect for multiple destinations including PowerPoint. It is being addressed in a future release of SAS.  Currently there is no work-around for the PowerPoint destination.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

How to Concatenate Values

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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