<?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: Displaying Title when exporting SAS to Excel in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Displaying-Title-when-exporting-SAS-to-Excel/m-p/65492#M18673</link>
    <description>Many thanks Cynthia!&lt;BR /&gt;
&lt;BR /&gt;
This trick worked just fine.</description>
    <pubDate>Wed, 19 Aug 2009 19:42:56 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2009-08-19T19:42:56Z</dc:date>
    <item>
      <title>Displaying Title when exporting SAS to Excel</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Displaying-Title-when-exporting-SAS-to-Excel/m-p/65490#M18671</link>
      <description>Hello,&lt;BR /&gt;
&lt;BR /&gt;
I am using the option tagsets.ExcelXP to "export" my SAS procedures to Excel. At the moment, even though a title is entered and is displaying in the SAS html file created, no title appear in the Excel I'm creating.&lt;BR /&gt;
&lt;BR /&gt;
Here is the code I'm using (simplified for your benefit) : &lt;BR /&gt;
&lt;BR /&gt;
ods listing close;&lt;BR /&gt;
ods tagsets.ExcelXP file='\[...]\TEST101.XLS';&lt;BR /&gt;
ods tagsets.excelxp options(sheet_name="Purchase 90%");&lt;BR /&gt;
&lt;BR /&gt;
PROC TABULATE&lt;BR /&gt;
&lt;BR /&gt;
[running a standard table procedure here]&lt;BR /&gt;
&lt;BR /&gt;
TITLE1  'Data for product Purchase 90%';&lt;BR /&gt;
&lt;BR /&gt;
RUN;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
ods tagsets.excelxp options(sheet_name="Purchase 95%");&lt;BR /&gt;
&lt;BR /&gt;
PROC TABULATE&lt;BR /&gt;
&lt;BR /&gt;
[running a standard table procedure here]&lt;BR /&gt;
&lt;BR /&gt;
TITLE1  'Data for product Purchase 95%';&lt;BR /&gt;
&lt;BR /&gt;
RUN;&lt;BR /&gt;
&lt;BR /&gt;
ods tagsets.ExcelXP close;&lt;BR /&gt;
&lt;BR /&gt;
Any idea? Many thanks!

Message was edited by: SamuelG.</description>
      <pubDate>Wed, 19 Aug 2009 13:57:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Displaying-Title-when-exporting-SAS-to-Excel/m-p/65490#M18671</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-08-19T13:57:14Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying Title when exporting SAS to Excel</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Displaying-Title-when-exporting-SAS-to-Excel/m-p/65491#M18672</link>
      <description>Hi:&lt;BR /&gt;
  (You might want to post ODS questions to the ODS Forum in the future...)&lt;BR /&gt;
&lt;BR /&gt;
  With the TAGSETS.EXCELXP destination, you are NOT creating HTML files. You are creating Spreadsheet Markup Language XML files that comply with the Microsoft Office 2003 XML specification for workbooks/worksheets.&lt;BR /&gt;
 &lt;BR /&gt;
  By default, the SAS title is put into the "print header" of the worksheet. So you should see it in Print Preview mode.&lt;BR /&gt;
 &lt;BR /&gt;
  Otherwise, if you invoke the tagset with the suboption doc="Help", you will see that there are some other suboptions you can specify that will put the titles into the body of the worksheet. Try this:&lt;BR /&gt;
[pre]&lt;BR /&gt;
ods tagsets.ExcelXP file='c:\temp\title.xls' style=sasweb&lt;BR /&gt;
            options(doc="Help" embedded_titles="Yes");&lt;BR /&gt;
&lt;BR /&gt;
proc print data=sashelp.class;&lt;BR /&gt;
  title 'this is the title';&lt;BR /&gt;
run;&lt;BR /&gt;
         &lt;BR /&gt;
ods _all_ close;&lt;BR /&gt;
[/pre]                                    &lt;BR /&gt;
                                                                             &lt;BR /&gt;
The help information will be in the SAS log after this program runs.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Wed, 19 Aug 2009 15:01:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Displaying-Title-when-exporting-SAS-to-Excel/m-p/65491#M18672</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2009-08-19T15:01:46Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying Title when exporting SAS to Excel</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Displaying-Title-when-exporting-SAS-to-Excel/m-p/65492#M18673</link>
      <description>Many thanks Cynthia!&lt;BR /&gt;
&lt;BR /&gt;
This trick worked just fine.</description>
      <pubDate>Wed, 19 Aug 2009 19:42:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Displaying-Title-when-exporting-SAS-to-Excel/m-p/65492#M18673</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-08-19T19:42:56Z</dc:date>
    </item>
  </channel>
</rss>

