04-09-2015 12:41 PM
I want my first two column headers to look like this as done by tagsets.sasreport13.
With tagsets.excelxp I get this.
I can merge it myself and save it and see the following but I don't know if I can get this with options in tagsets.excelxp
<Cell ss:MergeDown="1" sstyleID="m47835816"><Data ss:Type="String">name</Data></Cell>
<Cell ss:MergeDown="1" sstyleID="m47835836"><Data ss:Type="String">sex</Data></Cell>
<Cell ss:MergeAcross="2" sstyleID="m47835776"><Data ss:Type="String">span</Data></Cell>
Forgot to add the code:
Message was edited by: data _null_
04-11-2015 02:35 PM
PROC REPORT does NOT merge header cells. PROC REPORT writes one report row at a time. So when it is writing the row which needs to contain "span", PROC REPORT has no visibility of any rows that came before or any rows to come after. So you will not be able to achieve the "merged" header the way you envision. TAGSETS.SASREPORT13 is the default ODS destination for Enterprise Guide. It is SASReport XML and is not like TAGSETS.EXCELXP. So you can't compare how they work or ask one to work like the other.
This is the closes you get using PROC REPORT and TAGSETS.EXCELXP.