<?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: ods tagsets.execlxp help in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/ods-tagsets-execlxp-help/m-p/125139#M34367</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Ok. just an update. I got the sheet_name in options to work but I cannot get it to append to the current workbook. Like further down with other code and tables I want to use the same workbook name defined and just select a new sheet name. I did a options(doc='help') to look for options but see none.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Mar 2013 20:50:26 GMT</pubDate>
    <dc:creator>tmm</dc:creator>
    <dc:date>2013-03-05T20:50:26Z</dc:date>
    <item>
      <title>ods tagsets.execlxp help</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/ods-tagsets-execlxp-help/m-p/125136#M34364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have an ods and i want the ability to write to several sheets. Sure I can do multiple proc sqls or data steps to get a single table for each thing I want to export, which is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1st sheet: overall counts by tax id summary&lt;/P&gt;&lt;P&gt;2nd sheet: metal counts by tax id&lt;/P&gt;&lt;P&gt;3rd sheet: drug counts by tax id&lt;/P&gt;&lt;P&gt;4th sheet: no implant count by tax id&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adding the counts on sheets 2-4 would equal what is on the 1st sheet&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Right now I have all this data that writes to one table and then I do an ods to export to excel naming columns what I want, etc, but it will write to 1 workbook, the first sheet only. Then I would have to move things around. I don't want to do that. I am just wondering in the ods if I can do 1 taget and name my main workbook and then thru the 1 ods tagset depending on the data, tell it to output to whatever I name a sheet. If I cannot and have to do separate ods statements for each, then it might be best just to create mulitple proc sql or data steps to get the 4 tables in a final export version and export using a sheet name to the overall workbook.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Mar 2013 17:26:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/ods-tagsets-execlxp-help/m-p/125136#M34364</guid>
      <dc:creator>tmm</dc:creator>
      <dc:date>2013-03-01T17:26:19Z</dc:date>
    </item>
    <item>
      <title>Re: ods tagsets.execlxp help</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/ods-tagsets-execlxp-help/m-p/125137#M34365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This might help, see Data Driven Worksheets and Manual Multiple worksheets here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/rnd/base/ods/odsmarkup/excelxp_demo.html" title="http://support.sas.com/rnd/base/ods/odsmarkup/excelxp_demo.html"&gt;Base SAS: Demo: ExcelXP Tagset and Microsoft Excel&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Mar 2013 17:50:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/ods-tagsets-execlxp-help/m-p/125137#M34365</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2013-03-01T17:50:12Z</dc:date>
    </item>
    <item>
      <title>Re: ods tagsets.execlxp help</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/ods-tagsets-execlxp-help/m-p/125138#M34366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I read thru the proc export and you can put in options(sheet="Name of Sheet'); but when I do this it is still not working. The pages you gave me don't really have an example of how it should looke when using the prior tag of:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods tagsets.excelxp and then the sheet name thrown in. Of course proper format and following this is my proc report statement nowd split='/' data=pci.tablename;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then the columns etc etc. when i run this is just overlooks the sheet=name.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Mar 2013 20:32:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/ods-tagsets-execlxp-help/m-p/125138#M34366</guid>
      <dc:creator>tmm</dc:creator>
      <dc:date>2013-03-05T20:32:42Z</dc:date>
    </item>
    <item>
      <title>Re: ods tagsets.execlxp help</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/ods-tagsets-execlxp-help/m-p/125139#M34367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Ok. just an update. I got the sheet_name in options to work but I cannot get it to append to the current workbook. Like further down with other code and tables I want to use the same workbook name defined and just select a new sheet name. I did a options(doc='help') to look for options but see none.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Mar 2013 20:50:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/ods-tagsets-execlxp-help/m-p/125139#M34367</guid>
      <dc:creator>tmm</dc:creator>
      <dc:date>2013-03-05T20:50:26Z</dc:date>
    </item>
    <item>
      <title>Re: ods tagsets.execlxp help</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/ods-tagsets-execlxp-help/m-p/125140#M34368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can't use the ExcelXP tagset to append to an existing workbook. This is because it creates a workbook as an XML file and so needs to be built from scratch each time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The usual way to deal with this is to keep a complete copy of the workbook data in SAS and write out every sheet, every time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are other techniques for populating existing workbooks, including PROC EXPORT with the SHEET statement, and LIBNAME EXCEL, but then you lose the additional formating functionality provided by ExcelXP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Mar 2013 21:11:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/ods-tagsets-execlxp-help/m-p/125140#M34368</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2013-03-05T21:11:06Z</dc:date>
    </item>
    <item>
      <title>Re: ods tagsets.execlxp help</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/ods-tagsets-execlxp-help/m-p/125141#M34369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok thanks for the update&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Mar 2013 19:12:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/ods-tagsets-execlxp-help/m-p/125141#M34369</guid>
      <dc:creator>tmm</dc:creator>
      <dc:date>2013-03-06T19:12:29Z</dc:date>
    </item>
    <item>
      <title>Re: ods tagsets.execlxp help</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/ods-tagsets-execlxp-help/m-p/125142#M34370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;don't close your&amp;nbsp; ODS destination&lt;/P&gt;&lt;P&gt;until you do the next PROC writes to the workbook&lt;/P&gt;&lt;P&gt;just use &lt;/P&gt;&lt;P&gt;ods tagsets.excelxp options( sheet_name='next name' ); &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Mar 2013 23:44:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/ods-tagsets-execlxp-help/m-p/125142#M34370</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2013-03-06T23:44:45Z</dc:date>
    </item>
  </channel>
</rss>

