<?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: pie charts in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/pie-charts/m-p/90741#M3358</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think there's an easy way to export a graphic to Excel. You can using ods HTML, but then your file is HTML not really Excel.&lt;/P&gt;&lt;P&gt;Is this a brand new excel sheet or a sheet with data in it already?&lt;/P&gt;&lt;P&gt;I would recommend creating the chart in Excel and then feeding the data from SAS.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Jan 2013 23:19:08 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2013-01-29T23:19:08Z</dc:date>
    <item>
      <title>pie charts</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/pie-charts/m-p/90740#M3357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi guys,&lt;/P&gt;&lt;P&gt;i need to export pie charts from SAS into an excel file.Can anyone please share a nice code for resizing charts and exporting them to excel?&lt;/P&gt;&lt;P&gt;Is there also a&amp;nbsp; macro code that would export the charts to a certain spot of the excel worksheet? &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jan 2013 21:57:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/pie-charts/m-p/90740#M3357</guid>
      <dc:creator>Tal</dc:creator>
      <dc:date>2013-01-29T21:57:57Z</dc:date>
    </item>
    <item>
      <title>Re: pie charts</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/pie-charts/m-p/90741#M3358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think there's an easy way to export a graphic to Excel. You can using ods HTML, but then your file is HTML not really Excel.&lt;/P&gt;&lt;P&gt;Is this a brand new excel sheet or a sheet with data in it already?&lt;/P&gt;&lt;P&gt;I would recommend creating the chart in Excel and then feeding the data from SAS.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jan 2013 23:19:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/pie-charts/m-p/90741#M3358</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2013-01-29T23:19:08Z</dc:date>
    </item>
    <item>
      <title>Re: pie charts</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/pie-charts/m-p/90742#M3359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The sheet has&amp;nbsp; tables which automatically populate from the data imported&amp;nbsp; into excel from SAS.Next to each table i am supposed to have&amp;nbsp; a chart designed based on the data coming from SAS.So i have 5 tabs,one with the tables and 4 tabs with data coming from SAS.So,as data&amp;nbsp; would be coming from SAS those charts will be updated in each of the tabs and&amp;nbsp; then i manually move them in the first tab next to the tables.Is there a way maybe i can link the&amp;nbsp; charts from the 1st tab to the charts in each of the other 4 tabs so the ones in the 1st tab get updated along with the ones in the other 4&amp;nbsp; tabs? Probably SAS cant do this as you yourself said it.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2013 01:30:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/pie-charts/m-p/90742#M3359</guid>
      <dc:creator>Tal</dc:creator>
      <dc:date>2013-01-30T01:30:04Z</dc:date>
    </item>
    <item>
      <title>Re: pie charts</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/pie-charts/m-p/90743#M3360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;but then i wont be able to feed those&amp;nbsp; tabs with new data from SAS if i already have charts on them,right?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2013 01:34:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/pie-charts/m-p/90743#M3360</guid>
      <dc:creator>Tal</dc:creator>
      <dc:date>2013-01-30T01:34:00Z</dc:date>
    </item>
    <item>
      <title>Re: pie charts</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/pie-charts/m-p/90744#M3361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I totally don't understand. The chart can be anywhere in the work book and link to sheets that SAS is updating. You shouldn't need to 'move' anything.&lt;/P&gt;&lt;P&gt;SAS can update a tab with new information if you create a named range in the template before hand and then write to that specifically. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2013 15:38:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/pie-charts/m-p/90744#M3361</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2013-01-30T15:38:13Z</dc:date>
    </item>
    <item>
      <title>Re: pie charts</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/pie-charts/m-p/90745#M3362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;so probably linking the charts to the data coming from sas can be done with excel macro?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2013 20:26:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/pie-charts/m-p/90745#M3362</guid>
      <dc:creator>Tal</dc:creator>
      <dc:date>2013-01-30T20:26:00Z</dc:date>
    </item>
    <item>
      <title>Re: pie charts</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/pie-charts/m-p/90746#M3363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the suggested approach for this is to use the SAS Add-in for Office.&amp;nbsp; Its a simple matter to then link the SAS Data range to the chart.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2013 20:36:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/pie-charts/m-p/90746#M3363</guid>
      <dc:creator>DBailey</dc:creator>
      <dc:date>2013-01-30T20:36:40Z</dc:date>
    </item>
    <item>
      <title>Re: pie charts</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/pie-charts/m-p/90747#M3364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Make a chart that is linked to a table in Excel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Highlight the data and create a named range.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make your export data fit the named range exactly (same column names, formatting etc)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Output your excel data to the named range (using proc export with replace option or the libname method by first dropping the table and then recreating it).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Open the excel file and the chart will show the new data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2013 20:39:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/pie-charts/m-p/90747#M3364</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2013-01-30T20:39:09Z</dc:date>
    </item>
    <item>
      <title>Re: pie charts</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/pie-charts/m-p/90748#M3365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry but how do i output the data to the named range,i mean how do i link proc export to the named&amp;nbsp; range? &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2013 21:31:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/pie-charts/m-p/90748#M3365</guid>
      <dc:creator>Tal</dc:creator>
      <dc:date>2013-01-30T21:31:59Z</dc:date>
    </item>
    <item>
      <title>Re: pie charts</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/pie-charts/m-p/90749#M3366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you called the named range pie_chart for example use that as your sheet name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROC EXPORT DATA= work.scores&lt;/P&gt;&lt;P&gt;&amp;nbsp; OUTFILE= 'C:\excel files\class.xls'&lt;/P&gt;&lt;P&gt;&amp;nbsp; DBMS=EXCEL REPLACE;&lt;/P&gt;&lt;P&gt;&amp;nbsp; SHEET="pie_chart";&lt;/P&gt;&lt;P&gt;RUN;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/kb/20/923.html" title="http://support.sas.com/kb/20/923.html"&gt;20923 - How REPLACE option works with PROC EXPORT and Excel files in SAS 9.1&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2013 22:22:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/pie-charts/m-p/90749#M3366</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2013-01-30T22:22:29Z</dc:date>
    </item>
    <item>
      <title>Re: pie charts</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/pie-charts/m-p/90750#M3367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks Reeza.this is actually working.Thanks again&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2013 02:33:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/pie-charts/m-p/90750#M3367</guid>
      <dc:creator>Tal</dc:creator>
      <dc:date>2013-01-31T02:33:29Z</dc:date>
    </item>
  </channel>
</rss>

