Desktop productivity for business analysts and programmers

apply a custom style for a ODS RTF output

Reply
New Contributor
Posts: 4

apply a custom style for a ODS RTF output

Hello,

 

I have created a custum style cc_style1 for my ODS RTF output. This style appears correctly in the styles window (see doc1 on the attached documents) and is stored in C:\Users\xxxxx\AppData\Roaming\SAS\SharedSettings\Styles

 

Then, I add as advanced option: style = cc_style1 in "outils" > "options" > "resultats" > "RTF" but my output keeps the default style = 'RTF'

  

I certainly forget to do something; Could anyone help me

Attachment
Grand Advisor
Posts: 17,338

Re: apply a custom style for a ODS RTF output

What if you force it? Does this work? If not, Post the log. 

 

ods rtf file = 'test.rtf' CSSstyle = cc_style1;

 

proc print data = SASHELP.air;

run;

 

ods rtf close;

New Contributor
Posts: 4

Re: apply a custom style for a ODS RTF output

I try to force as mentionned, I have the following error messages:

Failed to import CSS file: cc_style1

File SASHELP.AIR.DATA does not exist.

 

Ask a Question
Discussion stats
  • 2 replies
  • 88 views
  • 0 likes
  • 2 in conversation