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

Missed SAS Innovate in Orlando?

Catch the best of SAS Innovate 2025 — anytime, anywhere. Stream powerful keynotes, real-world demos, and game-changing insights from the world’s leading data and AI minds.

 

Register now

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