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 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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