<?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 Sending Excel worksheet to open in SAS through Excel VBA in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Sending-Excel-worksheet-to-open-in-SAS-through-Excel-VBA/m-p/375452#M276467</link>
    <description>&lt;P&gt;How do I open SAS and send my worksheet from Excel to SAS by clicking a button (created by macro) in Excel using VBA?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have this so far, but not sure if it has started correct or how to proceed.&lt;/P&gt;&lt;P&gt;If anyone has advice or has done it, sharing the VBA code would be most appreciated!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sub New_Program()&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set SAS = CreateObject("SAS.Application")&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SAS.Visible = True&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SAS.Wait = True&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;End Sub&lt;/P&gt;</description>
    <pubDate>Wed, 12 Jul 2017 19:02:06 GMT</pubDate>
    <dc:creator>jos283</dc:creator>
    <dc:date>2017-07-12T19:02:06Z</dc:date>
    <item>
      <title>Sending Excel worksheet to open in SAS through Excel VBA</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Sending-Excel-worksheet-to-open-in-SAS-through-Excel-VBA/m-p/375452#M276467</link>
      <description>&lt;P&gt;How do I open SAS and send my worksheet from Excel to SAS by clicking a button (created by macro) in Excel using VBA?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have this so far, but not sure if it has started correct or how to proceed.&lt;/P&gt;&lt;P&gt;If anyone has advice or has done it, sharing the VBA code would be most appreciated!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sub New_Program()&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set SAS = CreateObject("SAS.Application")&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SAS.Visible = True&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SAS.Wait = True&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;End Sub&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2017 19:02:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Sending-Excel-worksheet-to-open-in-SAS-through-Excel-VBA/m-p/375452#M276467</guid>
      <dc:creator>jos283</dc:creator>
      <dc:date>2017-07-12T19:02:06Z</dc:date>
    </item>
    <item>
      <title>Re: Sending Excel worksheet to open in SAS through Excel VBA</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Sending-Excel-worksheet-to-open-in-SAS-through-Excel-VBA/m-p/375541#M276468</link>
      <description>&lt;P&gt;A few years ago I did a Global Forum paper on running SAS from Excel through VBA and ADO.You can find the paper at&amp;nbsp;&lt;A href="http://support.sas.com/resources/papers/proceedings14/1598-2014.pdf" target="_self"&gt;this link&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think pages 8-11 might be more or less the code you need - it turns a spreadsheet range into a SAS data set but you should be able to adapt it to suit your purposes.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2017 23:45:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Sending-Excel-worksheet-to-open-in-SAS-through-Excel-VBA/m-p/375541#M276468</guid>
      <dc:creator>ChrisBrooks</dc:creator>
      <dc:date>2017-07-12T23:45:59Z</dc:date>
    </item>
    <item>
      <title>Re: Sending Excel worksheet to open in SAS through Excel VBA</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Sending-Excel-worksheet-to-open-in-SAS-through-Excel-VBA/m-p/375576#M276469</link>
      <description>&lt;P&gt;Seems to be a problem best solved by using SAS Addin for MS Office.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2017 07:52:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Sending-Excel-worksheet-to-open-in-SAS-through-Excel-VBA/m-p/375576#M276469</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2017-07-13T07:52:54Z</dc:date>
    </item>
  </channel>
</rss>

