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

いつもお世話になっております。

 

proc report内に

call define(_col_, 'style', "style=[leftmargin=0.25in]");

と書いていると、odsでrtf出力したときにはインデントされますが、
odsでxlsxで出力した際にインデントされなくなってしまいます。

どのように対処すればよろしいでしょうか。


よろしくお願い致します。

1 ACCEPTED SOLUTION

Accepted Solutions
Ksharp
Super User
ods excel file='c:\temp\x.xlsx';
proc report data=sashelp.class nowd;
compute name;
call define(_col_, 'style', "style=[indent=0.25in]");
endcomp;
run;
ods excel close;

View solution in original post

2 REPLIES 2
Ksharp
Super User
ods excel file='c:\temp\x.xlsx';
proc report data=sashelp.class nowd;
compute name;
call define(_col_, 'style', "style=[indent=0.25in]");
endcomp;
run;
ods excel close;
sskt
Quartz | Level 8

I got the output I wanted by setting it to indent instead of leftmergin. Thank you very much.

 

leftmerginではなく、indentにするとこで私の望む出力が得られました。ありがとうございました。

sas-innovate-white.png

Special offer for SAS Communities members

Save $250 on SAS Innovate and get a free advance copy of the new SAS For Dummies book! Use the code "SASforDummies" to register. Don't miss out, May 6-9, in Orlando, Florida.

 

View the full agenda.

Register now!

Discussion stats
  • 2 replies
  • 1401 views
  • 1 like
  • 2 in conversation