<?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: Changing SAS data source in excel 2010 pivot in Microsoft Integration with SAS</title>
    <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Changing-SAS-data-source-in-excel-2010-pivot/m-p/156313#M1410</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you have to use VBA to change the source.&amp;nbsp; Open the SAS Add-In for Microsoft Office help (SAS Ribbon -&amp;gt; Help -&amp;gt;&amp;nbsp; Help for the SAS Add-In to Microsoft Office).&amp;nbsp; From there, look at the chapter named "Automating the SAS Add-In with Visual Basic Code".&amp;nbsp; There is documentation on the SASPivotTable class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have not tried this, but this is where I would start if I were in your shoes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Mar 2014 16:01:07 GMT</pubDate>
    <dc:creator>DomPazz</dc:creator>
    <dc:date>2014-03-27T16:01:07Z</dc:date>
    <item>
      <title>Changing SAS data source in excel 2010 pivot</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Changing-SAS-data-source-in-excel-2010-pivot/m-p/156312#M1409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a set of pivots connected to a SAS data source and I'm looking to use the same set of pivots I built, but connect to a different SAS data source.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I spent ~20 hours building an excel report built of approximately 10 individual pivots, slicers, formulas, etc. I need this report replicated with the exact same fields but instead, connect to 7 different data sets in SAS. I'm hoping I don't have to spend another ~100 hours rebuilding all of this from scratch.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I click on the current pivot table I have connected to "SAS data set X", I go to the SAS tab in excel --&amp;gt; SAS Data, I can browse for the new SAS data set, "data set Y" and locate it. Once I have "data set Y" selected, I'm unable to get it to replace the data source of the pivot table I clicked on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only option I have is to connect "data set Y" to a blank pivot, which would mean I would have to run through that entire 20 hour process again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know how to simply change the SAS data source in an existing pivot?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Mar 2014 19:31:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Changing-SAS-data-source-in-excel-2010-pivot/m-p/156312#M1409</guid>
      <dc:creator>ccondike</dc:creator>
      <dc:date>2014-03-25T19:31:50Z</dc:date>
    </item>
    <item>
      <title>Re: Changing SAS data source in excel 2010 pivot</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Changing-SAS-data-source-in-excel-2010-pivot/m-p/156313#M1410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you have to use VBA to change the source.&amp;nbsp; Open the SAS Add-In for Microsoft Office help (SAS Ribbon -&amp;gt; Help -&amp;gt;&amp;nbsp; Help for the SAS Add-In to Microsoft Office).&amp;nbsp; From there, look at the chapter named "Automating the SAS Add-In with Visual Basic Code".&amp;nbsp; There is documentation on the SASPivotTable class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have not tried this, but this is where I would start if I were in your shoes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2014 16:01:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Changing-SAS-data-source-in-excel-2010-pivot/m-p/156313#M1410</guid>
      <dc:creator>DomPazz</dc:creator>
      <dc:date>2014-03-27T16:01:07Z</dc:date>
    </item>
  </channel>
</rss>

