现将数据集 导出成excel格式,用如下代码后会excel中变量出现遇到特殊字符如- * . + 就自动换行的情况,咋整:
options orientation=landscape;
ods listing close;
ods excel file="test.xlsx" options(sheet_name="测试表格" embedded_titles="yes" frozen_headers='on');
ods escapechar="^";
options nodate nonumber pageno=1;
title1 j=c "测试数据";
proc report data=final nowindows nowd headskip missing spacing=1 split='|'
style(lines)=header{background=_undef_ asis=on font=('Courier New',8pt) just=left} ls=200 ps=50;
.
.
.
ods results on;
ods excel close;
ods listing;