<?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: Excel sheets through ODS in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Excel-sheets-through-ODS/m-p/137158#M5237</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any option to replace same name's existing sheet?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Aug 2014 12:28:39 GMT</pubDate>
    <dc:creator>Aman4SAS</dc:creator>
    <dc:date>2014-08-04T12:28:39Z</dc:date>
    <item>
      <title>Excel sheets through ODS</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Excel-sheets-through-ODS/m-p/137149#M5228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;I am creating 7 reports with the help of Proc report. and now i want to make a excel with separate sheets for each report.&lt;/P&gt;&lt;P&gt;is it possible from ODS or any other way in SAS?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jul 2014 12:21:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Excel-sheets-through-ODS/m-p/137149#M5228</guid>
      <dc:creator>Aman4SAS</dc:creator>
      <dc:date>2014-07-25T12:21:29Z</dc:date>
    </item>
    <item>
      <title>Re: Excel sheets through ODS</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Excel-sheets-through-ODS/m-p/137150#M5229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, have a look at ods tagsets.excelxp.&amp;nbsp; You can do it with proc export, but you have more control over output with the tagset:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods tagsets.excelxp file="...\tmp.xls";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods tagsets.excelxp options=(sheet_name="FIRST SHEET");&lt;/P&gt;&lt;P&gt;proc print data=first;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;ods tagsets.excelxp options=(sheet_name="SECOND SHEET");&lt;/P&gt;&lt;P&gt;proc print data=second;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;ods tagsets.excelxp close;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jul 2014 12:31:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Excel-sheets-through-ODS/m-p/137150#M5229</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2014-07-25T12:31:35Z</dc:date>
    </item>
    <item>
      <title>Re: Excel sheets through ODS</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Excel-sheets-through-ODS/m-p/137151#M5230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had done same thing but its creating separate excel file tmp, tmp1 , tmp2, automatically.&amp;nbsp; i m looking for single excel file with all sheets. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;only diff is in ur and my code is , i m using proc report and u are using proc print&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jul 2014 12:43:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Excel-sheets-through-ODS/m-p/137151#M5230</guid>
      <dc:creator>Aman4SAS</dc:creator>
      <dc:date>2014-07-25T12:43:58Z</dc:date>
    </item>
    <item>
      <title>Re: Excel sheets through ODS</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Excel-sheets-through-ODS/m-p/137152#M5231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So you have one ods tagsets.excelxp file=, and at the end one ods tagsets.excelxp close; and it is creating different files for each proc?&amp;nbsp; That is very strange indeed, can you post your code?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jul 2014 13:11:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Excel-sheets-through-ODS/m-p/137152#M5231</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2014-07-25T13:11:26Z</dc:date>
    </item>
    <item>
      <title>Re: Excel sheets through ODS</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Excel-sheets-through-ODS/m-p/137153#M5232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes , its creating separate excel sheet .&lt;/P&gt;&lt;P&gt;I have tried with proc print but still doing same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ODS listing close; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods tagsets.excelxp file="I:\anuj\temp folder\tmp.xls";&lt;/P&gt;&lt;P&gt;ods tagsets.excelxp options=(sheet_name="FIRST SHEET");&lt;/P&gt;&lt;P&gt;proc print data =&amp;nbsp; Tab7_NSA ; run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods tagsets.excelxp options=(sheet_name="SECOND SHEET");&lt;/P&gt;&lt;P&gt;proc print data = TableC_SA_all&amp;nbsp; ; run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods tagsets.excelxp options=(sheet_name="THIRD SHEET");&lt;/P&gt;&lt;P&gt;proc print data =SA_table7_sorted&amp;nbsp;&amp;nbsp; ; run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods tagsets.excelxp close;&lt;/P&gt;&lt;P&gt;ODS listing;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jul 2014 13:15:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Excel-sheets-through-ODS/m-p/137153#M5232</guid>
      <dc:creator>Aman4SAS</dc:creator>
      <dc:date>2014-07-25T13:15:50Z</dc:date>
    </item>
    <item>
      <title>Re: Excel sheets through ODS</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Excel-sheets-through-ODS/m-p/137154#M5233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This will create one file with three tabs (there shouldn't be an = after options, hence the program didn't run):&lt;/P&gt;&lt;P&gt;ODS listing close; &lt;BR /&gt;ods tagsets.excelxp file="s:\temp\rob\tmp.xls";&lt;BR /&gt;ods tagsets.excelxp options(sheet_name="FIRST SHEET");&lt;/P&gt;&lt;P&gt;proc print data =&amp;nbsp; sashelp.cars ; run;&lt;/P&gt;&lt;P&gt;ods tagsets.excelxp options(sheet_name="SECOND SHEET");&lt;/P&gt;&lt;P&gt;proc print data = sashelp.cars&amp;nbsp; ; run;&lt;/P&gt;&lt;P&gt;ods tagsets.excelxp options(sheet_name="THIRD SHEET");&lt;/P&gt;&lt;P&gt;proc print data = sashelp.cars ; run;&lt;/P&gt;&lt;P&gt;ods tagsets.excelxp close;&lt;BR /&gt;ODS listing;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jul 2014 13:23:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Excel-sheets-through-ODS/m-p/137154#M5233</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2014-07-25T13:23:02Z</dc:date>
    </item>
    <item>
      <title>Re: Excel sheets through ODS</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Excel-sheets-through-ODS/m-p/137155#M5234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ods tagsets.excelxp file="c:\temp\tmp.xls"&amp;nbsp; options(Sheet_Interval='Proc');&lt;/P&gt;&lt;P&gt;proc print data=sashelp.class;run;&lt;/P&gt;&lt;P&gt;proc print data = sashelp.cars&amp;nbsp; ; run;&lt;/P&gt;&lt;P&gt;ods tagsets.excelxp close;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Xia Keshan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jul 2014 13:41:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Excel-sheets-through-ODS/m-p/137155#M5234</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2014-07-25T13:41:46Z</dc:date>
    </item>
    <item>
      <title>Re: Excel sheets through ODS</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Excel-sheets-through-ODS/m-p/137156#M5235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Keshan, &lt;/P&gt;&lt;P&gt;I am having a new problem with my excel sheets, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am creating multiple excel files with multiple sheets.&lt;/P&gt;&lt;P&gt;its running fine but i getting sheet names with addition number&lt;/P&gt;&lt;P&gt;i.e my sheet name must be xyz but in file i m getting xyz 2 , abc 3 etc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there any option to get rid of this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2014 09:12:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Excel-sheets-through-ODS/m-p/137156#M5235</guid>
      <dc:creator>Aman4SAS</dc:creator>
      <dc:date>2014-08-04T09:12:25Z</dc:date>
    </item>
    <item>
      <title>Re: Excel sheets through ODS</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Excel-sheets-through-ODS/m-p/137157#M5236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry , you can't get rid of these number . Try RW9's code .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods tagsets.excelxp file="c:\temp\tmp.xls"&amp;nbsp; options(Sheet_Interval='Proc' Sheet_Name='xx ');&lt;/P&gt;&lt;P&gt;proc report data=sashelp.class nowd ;run;&lt;/P&gt;&lt;P&gt;proc report data = sashelp.cars nowd&amp;nbsp; ; run;&lt;/P&gt;&lt;P&gt;ods tagsets.excelxp close;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2014 12:08:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Excel-sheets-through-ODS/m-p/137157#M5236</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2014-08-04T12:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: Excel sheets through ODS</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Excel-sheets-through-ODS/m-p/137158#M5237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any option to replace same name's existing sheet?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2014 12:28:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Excel-sheets-through-ODS/m-p/137158#M5237</guid>
      <dc:creator>Aman4SAS</dc:creator>
      <dc:date>2014-08-04T12:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: Excel sheets through ODS</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Excel-sheets-through-ODS/m-p/137159#M5238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can't you replace the same name sheet with RW9's code ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2014 12:40:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Excel-sheets-through-ODS/m-p/137159#M5238</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2014-08-04T12:40:15Z</dc:date>
    </item>
    <item>
      <title>Re: Excel sheets through ODS</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Excel-sheets-through-ODS/m-p/137160#M5239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;its adding new sheet using _1, _2 so on&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2014 13:31:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Excel-sheets-through-ODS/m-p/137160#M5239</guid>
      <dc:creator>Aman4SAS</dc:creator>
      <dc:date>2014-08-04T13:31:25Z</dc:date>
    </item>
    <item>
      <title>Re: Excel sheets through ODS</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Excel-sheets-through-ODS/m-p/137161#M5240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; When I run RW9's code, I do *NOT* observe extra numbers getting appended to the sheet name value. Therefore, there must be SOMETHING different about your code from what you originally posted or you must have changed the code posted by RW9. Here's the code I have posted. As you can see from the screen shot, there are no extra numbers appended to the sheet names. If you run this code, as it is, and you get numbers appended to the sheet names, then I would recommend that you open a track with Tech Support.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; If you CHANGE the code, then you must show how you changed the code, because several people have responded to you that there are ways to generate multi-sheet workbooks without getting numbered sheets and except for the first code you posted, you have not posted any other code. Therefore, it is impossible for anyone to replicate your results. As you can see from my second and third screen shot, there is a way to cause numbers in the sheet names depending on the method you choose to generate multiple sheets. The second screen shot shows the code that generates the names "my stuff", "my stuff 2" and "my stuff 3" as sheet names. If you choose to use the method shown, with sheet_interval, then as you can see the normal behavior is for numbers to get appended.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; If you don't like the numbering behavior, change your code to the example that RW9 gave you. If you cannot post code and data for testing here in the forum, then perhaps you would get a quicker resolution by working with Tech Support. They can look at ALL your code and ALL your data and help you come to a definitive resolution. (Also, this is NOT a graphics question. So if you are going to continue with ODS and PROC REPORT questions, please do NOT post these questions to the Graphics forum. Post them to the ODS and Base Reporting forum.)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Cynthia&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;ODS listing close; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;ods tagsets.excelxp file="c:\temp\tmp.xml" style=htmlblue;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;ods tagsets.excelxp options(sheet_name="FIRST SHEET");&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;proc print data =&amp;nbsp; sashelp.cars(obs=5) ; run;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;ods tagsets.excelxp options(sheet_name="SECOND SHEET");&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;proc print data = sashelp.shoes(obs=5)&amp;nbsp; ; run;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;ods tagsets.excelxp options(sheet_name="THIRD SHEET");&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;proc print data = sashelp.prdsale(obs=5) ; run;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;ods tagsets.excelxp close;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;ODS listing;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/11071i1D6AAE59B89A2746/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="sheet_interval_changes.png" title="sheet_interval_changes.png" /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/11072i916D538B22904637/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="sheet_names_OK.png" title="sheet_names_OK.png" /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/11073iBA14DEF3367EC99B/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="can_cause_numbers_in_sheet.png" title="can_cause_numbers_in_sheet.png" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2014 16:35:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Excel-sheets-through-ODS/m-p/137161#M5240</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2014-08-04T16:35:13Z</dc:date>
    </item>
    <item>
      <title>Re: Excel sheets through ODS</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Excel-sheets-through-ODS/m-p/137162#M5241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi when u re-run the code it will not replace previous one , it will just new sheet with same name sufix _1_2 so on, Problem comes when u create charts with ur time series with ur existing sheet and next month when u will run this code u will need to create chart again, specialy when u need to create all MSA's sheet nearly 400, thats y i m looking solution to just replace numbers or sheet , like sas with proc export. Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2014 19:52:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Excel-sheets-through-ODS/m-p/137162#M5241</guid>
      <dc:creator>Aman4SAS</dc:creator>
      <dc:date>2014-08-04T19:52:09Z</dc:date>
    </item>
    <item>
      <title>Re: Excel sheets through ODS</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Excel-sheets-through-ODS/m-p/137163#M5242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, I see what you are getting at.&amp;nbsp; What you have to remember is that SAS produces outputs, it does not run the Excel system.&amp;nbsp; Therefore the output from SAS will be reproduced each time, there is not real update function.&amp;nbsp; You can trick it slightly with Excel Libnames, but its not very good.&amp;nbsp; Yes, proc export can do some basic things as well, but is built to just export a table.&amp;nbsp; SAS and Excel are very different pieces of software and Excel is really badly misused across the board. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, if you have an Excel template and you need to work to that then you need to find ways, via Excel, to get to that.&amp;nbsp; Two options stand out - DDE - this is quite old technology that MS invented to allow cross communication between applications and Office.&amp;nbsp; It has most functionality up to about pre 2000 release of Excel and SAS supports it via DDE commands, here is an example: &lt;A href="http://www.nesug.org/proceedings/nesug05/pos/pos15.pdf" title="http://www.nesug.org/proceedings/nesug05/pos/pos15.pdf"&gt;http://www.nesug.org/proceedings/nesug05/pos/pos15.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This may however not do exactly what you want, so the other option I see for you is to export your data from SAS into a readable format, say CSV, then write a set of VBA macros in Excel (not necessarily the same workbook as your output), these macros would load the CSV data, then open your template workbook, post the data where it needs to go, and then update graphs and such like.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a third option, not something I would recommend.&amp;nbsp; This is to learn the Open Office structure.&amp;nbsp; This is the newer Office format, this is a ZIP file (even though the file extension is XLSX or DOCX - just rename to .ZIP), which within contains various folders and XML data.&amp;nbsp; Other than VBA code, this is how all of your data and graphs etc. are stored, hence if you know how to build this you can pretty much do anything you want, however its not straight forward (and VBA is still compiled so you wouldn't build that).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason is that you are trying to use a piece of software - Excel - as both a database, calculation and reporting tool.&amp;nbsp; It is not, its just a glorified calculator.&amp;nbsp; So IMO you need to either change your approach to use Excel, or change the output requirement to suit the reporting functionality of SAS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A final note, here is an example of VBA code to be run in Excel which opens a list of files from a directory, this could be a good starting point if you wanted to write the VBA import/update macro: &lt;A href="http://spreadsheetpage.com/index.php/tip/getting_a_list_of_file_names_using_vba/" title="http://spreadsheetpage.com/index.php/tip/getting_a_list_of_file_names_using_vba/"&gt;Spreadsheet Page Excel Tips: Getting A List Of File Names Using VBA&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Aug 2014 08:02:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Excel-sheets-through-ODS/m-p/137163#M5242</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2014-08-05T08:02:41Z</dc:date>
    </item>
    <item>
      <title>Re: Excel sheets through ODS</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Excel-sheets-through-ODS/m-p/137164#M5243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your great guidance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are already working on ur suggested procedure. but in this case task become multi talk and very time consuming. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ODS is very helpful. but i m just missing my chart requirement with time series. i am trying to use VBA to create chart with created time series through ODS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If possible just please guide me to increase the height of line in proc report , that will help me to add my summary along with my report.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Aug 2014 08:49:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Excel-sheets-through-ODS/m-p/137164#M5243</guid>
      <dc:creator>Aman4SAS</dc:creator>
      <dc:date>2014-08-05T08:49:18Z</dc:date>
    </item>
    <item>
      <title>Re: Excel sheets through ODS</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Excel-sheets-through-ODS/m-p/137165#M5244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you delete that file before run the ods code ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;x 'delete &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;c:\temp\tmp.xls&lt;/SPAN&gt;' ;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;ods tagsets.excelxp file="c:\temp\tmp.xls"&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;about increasing the number of column ,try the following option to make more room in a page .&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;STRONG&gt;option topmargin=2 leftmargin=2 &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Xia Keshan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Aug 2014 12:19:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Excel-sheets-through-ODS/m-p/137165#M5244</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2014-08-05T12:19:21Z</dc:date>
    </item>
    <item>
      <title>Re: Excel sheets through ODS</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Excel-sheets-through-ODS/m-p/137166#M5245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, But i m looking for incresing height of line, becaz my lines are long and its been wrap and overlap by next line. {In case of line font size also not working, if i will remove"(*ESC*)S" and i will issue to make first line bold}&lt;/P&gt;&lt;P&gt;My code is below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc report data = TableA nowd headline headskip split= "*"&lt;/P&gt;&lt;P&gt;style(report)=[cellspacing=2 borderwidth=1 bordercolor=blue]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;style(header)=[color=black&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fontsize =3 textalign=l fontfamily = 'Times New Roman' fontweight=bold]&lt;/P&gt;&lt;P&gt;style(column)=[color=black&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fontfamily='Times New Roman' fontsize=2 just=center]&lt;/P&gt;&lt;P&gt;style(lines)=[color=Black backgroundcolor=grey&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fontstyle=italic fontweight=bold fontsize=1 just =l]&lt;/P&gt;&lt;P&gt;style(summary)=[color=cx3e3d73 backgroundcolor=cxaeadd9&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fontfamily=helvetica fontsize=3 textalign=r];&lt;/P&gt;&lt;P&gt;column ("Heading line" (Area Totalsale Mom sdrates));&lt;/P&gt;&lt;P&gt;DEFINE AREA / "&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&amp;nbsp; LOCATION" style(Header)=[just=center cellwidth=2 in] style(column)=[just=l];&lt;/P&gt;&lt;P&gt;define totalsale/ "Total ads~{super 1}*(Thousands)*&amp;amp;currmon" style(Header)=[just=center cellwidth=1 in]&amp;nbsp; style(column)=[tagattr='format:#,##0.0'];&lt;/P&gt;&lt;P&gt;define mom/ "M-O-M*Change*&amp;amp;currmon - &amp;amp;prevmon" style(Header)=[just=center cellwidth=1.2 in]&amp;nbsp; style(column)=[tagattr='format:#,##0.0'];&lt;/P&gt;&lt;P&gt;Define sdrates/"Supply/*Demand Rates~{super 2}*&amp;amp;msta" style(Header)=[just=center cellwidth=1.4 in] style(column)=[tagattr='format:##.00']; &lt;/P&gt;&lt;P&gt;compute Area;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if Area in ("NORTHEAST","SOUTH","MIDWEST","WEST") and _break_=' ' then&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; call define(_row_, "style", &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "style=[backgroundcolor=yellow &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fontfamily='Times New Roman' &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fontweight=bold]");&lt;/P&gt;&lt;P&gt;if Area = "United States" and _break_=' ' then&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; call define(_row_, "style", &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "style=[backgroundcolor=cxaeadd9 &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fontfamily='Times New Roman' &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fontweight=bold]");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; endcomp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; compute after ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;line "(*ESC*)S={ textalign= left Font_weight=bold font_size=1 fontfamily='times new roman'}line 1 (*ESC*)S={}";&lt;/P&gt;&lt;P&gt;line "(*ESC*)S={ font_size=1 fontfamily='times new roman'}line 2 (*ESC*)S={}";&lt;/P&gt;&lt;P&gt;line "(*ESC*)S={ font_size=1 fontfamily='times new roman'}Line 3 (*ESC*)S={}";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; endcomp;&lt;/P&gt;&lt;P&gt; &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; FORMAT totalads 7.1 MOM 7.1 sdrates 7.2;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Aug 2014 12:53:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Excel-sheets-through-ODS/m-p/137166#M5245</guid>
      <dc:creator>Aman4SAS</dc:creator>
      <dc:date>2014-08-05T12:53:14Z</dc:date>
    </item>
    <item>
      <title>Re: Excel sheets through ODS</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Excel-sheets-through-ODS/m-p/137167#M5246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;cellheight=&amp;nbsp; ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Aug 2014 13:02:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Excel-sheets-through-ODS/m-p/137167#M5246</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2014-08-05T13:02:42Z</dc:date>
    </item>
    <item>
      <title>Re: Excel sheets through ODS</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Excel-sheets-through-ODS/m-p/137168#M5247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;cellheight , row_height , all i have tried but not working. at the same time fontsize also not working for lines&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Aug 2014 13:59:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Excel-sheets-through-ODS/m-p/137168#M5247</guid>
      <dc:creator>Aman4SAS</dc:creator>
      <dc:date>2014-08-05T13:59:15Z</dc:date>
    </item>
  </channel>
</rss>

