<?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: Graphs generated in excel through SAS coding in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Graphs-generated-in-excel-through-SAS-coding/m-p/389489#M25129</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please avoid attached files as they are a security risk, I wouldn't download them.&lt;/P&gt;
&lt;P&gt;What I take from your question is that you need an interactive Excel graph. &amp;nbsp;The only real way to do this is via Excel itself. &amp;nbsp;From your SAS session you would drop the data out, it is within the Excel file (using either the graph builder and fixed cells, or by VBA) to re-create the graph in the file. &amp;nbsp;This is not something which SAS can do for you. &amp;nbsp;What a lot of people use if this kind of thing is needed is web reports or something similar, this is a web front end where parameters can be entered and graphs and listings created - these are called visualisations. &amp;nbsp;This would be the way to go if there is to be much use of this process. &amp;nbsp;If it is just this one file, then look at using a macro enabled Exce file, with some VBA code which re-creates a graph from given parameters either through a form or cells - this is outside the scope of this forum, but to start:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.thespreadsheetguru.com/blog/2015/3/1/the-vba-coding-guide-for-excel-charts-graph" target="_blank"&gt;https://www.thespreadsheetguru.com/blog/2015/3/1/the-vba-coding-guide-for-excel-charts-graph&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Its very simple. &amp;nbsp;If you need to keep your data linked to this, then export your data from SAS to a file (CSV, XLSX) and have your main VBA enabled file load that file to get the latest data.&lt;/P&gt;</description>
    <pubDate>Mon, 21 Aug 2017 11:21:02 GMT</pubDate>
    <dc:creator>RW9</dc:creator>
    <dc:date>2017-08-21T11:21:02Z</dc:date>
    <item>
      <title>Graphs generated in excel through SAS coding</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Graphs-generated-in-excel-through-SAS-coding/m-p/389488#M25128</link>
      <description>&lt;P&gt;&lt;BR /&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;My purpose is to create a LINE chart with points (like in the below attachment.) in sas and export it to excel in one go. I need the charts to be interactive, meaning if user changes one of the numbers then the charts change.(Instead of a picture of a chart. But please let me know what can be accomplished).I understand that a macro needs to be created to read the dataset into it and then use this macro variable while creating charts so that the chart is interactive. But I am not sure how is this done. please help.&lt;BR /&gt;Attached is the excel sheet in which I have a sample of my dataset and the interactive graph .&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(In the final output in excel, I dont need the data set on the graph page, just the interactive graph is good to go. )&lt;/P&gt;</description>
      <pubDate>Mon, 21 Aug 2017 11:10:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Graphs-generated-in-excel-through-SAS-coding/m-p/389488#M25128</guid>
      <dc:creator>Thanu</dc:creator>
      <dc:date>2017-08-21T11:10:35Z</dc:date>
    </item>
    <item>
      <title>Re: Graphs generated in excel through SAS coding</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Graphs-generated-in-excel-through-SAS-coding/m-p/389489#M25129</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please avoid attached files as they are a security risk, I wouldn't download them.&lt;/P&gt;
&lt;P&gt;What I take from your question is that you need an interactive Excel graph. &amp;nbsp;The only real way to do this is via Excel itself. &amp;nbsp;From your SAS session you would drop the data out, it is within the Excel file (using either the graph builder and fixed cells, or by VBA) to re-create the graph in the file. &amp;nbsp;This is not something which SAS can do for you. &amp;nbsp;What a lot of people use if this kind of thing is needed is web reports or something similar, this is a web front end where parameters can be entered and graphs and listings created - these are called visualisations. &amp;nbsp;This would be the way to go if there is to be much use of this process. &amp;nbsp;If it is just this one file, then look at using a macro enabled Exce file, with some VBA code which re-creates a graph from given parameters either through a form or cells - this is outside the scope of this forum, but to start:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.thespreadsheetguru.com/blog/2015/3/1/the-vba-coding-guide-for-excel-charts-graph" target="_blank"&gt;https://www.thespreadsheetguru.com/blog/2015/3/1/the-vba-coding-guide-for-excel-charts-graph&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Its very simple. &amp;nbsp;If you need to keep your data linked to this, then export your data from SAS to a file (CSV, XLSX) and have your main VBA enabled file load that file to get the latest data.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Aug 2017 11:21:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Graphs-generated-in-excel-through-SAS-coding/m-p/389489#M25129</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-08-21T11:21:02Z</dc:date>
    </item>
    <item>
      <title>Re: Graphs generated in excel through SAS coding</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Graphs-generated-in-excel-through-SAS-coding/m-p/389589#M25145</link>
      <description>&lt;P&gt;If the chart and table are always the same 'style' or type you can create an XLSX template file and use SAS to replace the data in the file.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You first copy the template, then export your data.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you don't have a 'fixed' template then it's a much more difficult problem.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Aug 2017 17:22:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Graphs-generated-in-excel-through-SAS-coding/m-p/389589#M25145</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-08-21T17:22:26Z</dc:date>
    </item>
  </channel>
</rss>

