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

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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
  • 988 views
  • 0 likes
  • 2 in conversation