<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Proc template with ODS Tagsets ExcelXP Options in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-template-with-ODS-Tagsets-ExcelXP-Options/m-p/264420#M15653</link>
    <description>Hi: I would expect you to get an error message when you try to open the Excel file -- I believe you have your quoting wrong in the FONTFAMILY attribute. &lt;BR /&gt;When I try a version of your template with this:&lt;BR /&gt;fontfamily = '"Times New Roman", Arial, sans-serif'; &lt;BR /&gt;(because I don't have Lucida Grande on my system), I get an error message from Excel. &lt;BR /&gt;&lt;BR /&gt;But, if I have this:&lt;BR /&gt;fontfamily = 'Times New Roman, Arial, sans-serif' ;&lt;BR /&gt;then I don't have an error message from Excel.&lt;BR /&gt;&lt;BR /&gt;Also, aside from the sheet_interval='none' issue, typically, I find border colors, border styles and border widths generally ignored by Excel, So I believe you can simplify your template.&lt;BR /&gt;&lt;BR /&gt;Also, if you plan to share your template with other people, then you will generally need to write the template to an item store on a shared drive or server where other folks can get to it.&lt;BR /&gt; &lt;BR /&gt;cynthia&lt;BR /&gt;&lt;BR /&gt;Also, with sheet_interval='none' you are telling TAGSETS.EXCELXP that you do NOT want a multi-sheet workbook, but that you want ALL your procedure output in one worksheet.</description>
    <pubDate>Sun, 17 Apr 2016 16:28:24 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2016-04-17T16:28:24Z</dc:date>
    <item>
      <title>Proc template with ODS Tagsets ExcelXP Options</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-template-with-ODS-Tagsets-ExcelXP-Options/m-p/264371#M15650</link>
      <description>&lt;P&gt;I am trying to spice up the table format with PROC TEMPLATE.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc template;
define style mystyle;
/* Body */
 class body / 
 backgroundcolor = white
 color = black ;
 /* Tables */
 class table /
 frame = box
 rules = all
 borderwidth = 1px
 borderstyle = solid
 bordercolor = #5D5D5D
 borderspacing = 0
 bordercollapse = collapse
 cellpadding = 5px;
 class data, header, rowheader /
 fontfamily = '"Lucida Grande", Arial, sans-serif'
 fontsize = 11pt
 backgroundcolor = #FFF
 color = black;
 class header, rowheader /
 fontweight = medium
 textalign = left
 fontsize = 12pt
 backgroundcolor = #1F1C7C
 color = #FFF;
 /* System Title and Footers */
 class systemtitle, systemfooter /
 fontfamily = '"Lucida Grande", Arial, sans-serif';
 /* Page number and date (for printer) */
 class pageno, bodydate /
 fontfamily = '"Lucida Grande", Arial, sans-serif' ;
end;
run;

ods html style=mystyle file = 'C:\Users\Ujjawal\Downloads\temp.htm';
proc print data=sashelp.class noobs;
run;
ods _all_ close;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The above code works fine if i use ODS HTML. But i need to create multi-sheet excel file. So i am using ODS TAGSETS EXCELXP. It does not work with ODS TAGSETS EXCELXP.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods tagsets.excelxp file='C:\Users\Ujjawal\Documents\multii.xls' style=mystyle
options(sheet_name='Summary' skip_space='1,0,0,0,1' EMBEDDED_TITLES='yes' sheet_interval='none' suppress_bylines='no');
proc print data=sashelp.class noobs;
run;
ods tagsets.excelxp close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;What i am doing using PROC TEMPLATE - Making background color of header BLUE (#1F1C7C) and background color of border LIGHT BLACK (#5D5D5D) .&lt;/P&gt;</description>
      <pubDate>Sat, 16 Apr 2016 19:10:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-template-with-ODS-Tagsets-ExcelXP-Options/m-p/264371#M15650</guid>
      <dc:creator>Ujjawal</dc:creator>
      <dc:date>2016-04-16T19:10:26Z</dc:date>
    </item>
    <item>
      <title>Re: Proc template with ODS Tagsets ExcelXP Options</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-template-with-ODS-Tagsets-ExcelXP-Options/m-p/264379#M15651</link>
      <description>&lt;P&gt;What is the issue/error you are getting?&lt;/P&gt;</description>
      <pubDate>Sun, 17 Apr 2016 00:51:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-template-with-ODS-Tagsets-ExcelXP-Options/m-p/264379#M15651</guid>
      <dc:creator>amadhavi41</dc:creator>
      <dc:date>2016-04-17T00:51:19Z</dc:date>
    </item>
    <item>
      <title>Re: Proc template with ODS Tagsets ExcelXP Options</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-template-with-ODS-Tagsets-ExcelXP-Options/m-p/264383#M15652</link>
      <description>&lt;P&gt;I would grab a template I know that works and change that to see if I could get it working.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I know proc report allows you to customize formatting for tagsets so you do have work around options.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 17 Apr 2016 02:06:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-template-with-ODS-Tagsets-ExcelXP-Options/m-p/264383#M15652</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-04-17T02:06:01Z</dc:date>
    </item>
    <item>
      <title>Re: Proc template with ODS Tagsets ExcelXP Options</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-template-with-ODS-Tagsets-ExcelXP-Options/m-p/264420#M15653</link>
      <description>Hi: I would expect you to get an error message when you try to open the Excel file -- I believe you have your quoting wrong in the FONTFAMILY attribute. &lt;BR /&gt;When I try a version of your template with this:&lt;BR /&gt;fontfamily = '"Times New Roman", Arial, sans-serif'; &lt;BR /&gt;(because I don't have Lucida Grande on my system), I get an error message from Excel. &lt;BR /&gt;&lt;BR /&gt;But, if I have this:&lt;BR /&gt;fontfamily = 'Times New Roman, Arial, sans-serif' ;&lt;BR /&gt;then I don't have an error message from Excel.&lt;BR /&gt;&lt;BR /&gt;Also, aside from the sheet_interval='none' issue, typically, I find border colors, border styles and border widths generally ignored by Excel, So I believe you can simplify your template.&lt;BR /&gt;&lt;BR /&gt;Also, if you plan to share your template with other people, then you will generally need to write the template to an item store on a shared drive or server where other folks can get to it.&lt;BR /&gt; &lt;BR /&gt;cynthia&lt;BR /&gt;&lt;BR /&gt;Also, with sheet_interval='none' you are telling TAGSETS.EXCELXP that you do NOT want a multi-sheet workbook, but that you want ALL your procedure output in one worksheet.</description>
      <pubDate>Sun, 17 Apr 2016 16:28:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-template-with-ODS-Tagsets-ExcelXP-Options/m-p/264420#M15653</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2016-04-17T16:28:24Z</dc:date>
    </item>
  </channel>
</rss>

