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

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

Register now!

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