<?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: how to change the background color of an excel sheet using sas dde in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/how-to-change-the-background-color-of-an-excel-sheet-using-sas/m-p/250992#M47356</link>
    <description>I don't have anything I can test this out on now, but I can see some issues. &lt;BR /&gt;&lt;BR /&gt;You set the reference to your range but don't actually select it. Make sure to select the cells. &lt;BR /&gt;Once cells are selected try the pattern statement again. &lt;BR /&gt;&lt;BR /&gt;If you search on lexjansen.com for a papers on DDE you'll find many references and examples. &lt;BR /&gt;&lt;BR /&gt;A relevant one for you is here on the bottom of Page 3, with a demo of setting a range to a light grey. &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www2.sas.com/proceedings/sugi27/p190-27.pdf" target="_blank"&gt;http://www2.sas.com/proceedings/sugi27/p190-27.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;PS. DDE is considered very old school. If you can, consider using ODS Tagsets.ExcelXP or ODS Excel (SAS 9.4+) instead.</description>
    <pubDate>Fri, 19 Feb 2016 00:48:50 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2016-02-19T00:48:50Z</dc:date>
    <item>
      <title>how to change the background color of an excel sheet using sas dde</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-change-the-background-color-of-an-excel-sheet-using-sas/m-p/250761#M47306</link>
      <description>&lt;P&gt;I want to change the background color of an excel sheet from R1C1 to R1C10 in an excel sheet. On submitting the below code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;filename final dde 'excel|sheet1!r1c1:r1c10' ;&lt;BR /&gt;data _null_;&lt;BR /&gt;file final;&lt;BR /&gt;put '[patterns(1,0,15)]';&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the text&amp;nbsp; [patterns(1,0,15)] gets printed in the cell-R1C1, without any background color.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 18 Feb 2016 05:15:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-change-the-background-color-of-an-excel-sheet-using-sas/m-p/250761#M47306</guid>
      <dc:creator>anirban_chakra</dc:creator>
      <dc:date>2016-02-18T05:15:04Z</dc:date>
    </item>
    <item>
      <title>Re: how to change the background color of an excel sheet using sas dde</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-change-the-background-color-of-an-excel-sheet-using-sas/m-p/250992#M47356</link>
      <description>I don't have anything I can test this out on now, but I can see some issues. &lt;BR /&gt;&lt;BR /&gt;You set the reference to your range but don't actually select it. Make sure to select the cells. &lt;BR /&gt;Once cells are selected try the pattern statement again. &lt;BR /&gt;&lt;BR /&gt;If you search on lexjansen.com for a papers on DDE you'll find many references and examples. &lt;BR /&gt;&lt;BR /&gt;A relevant one for you is here on the bottom of Page 3, with a demo of setting a range to a light grey. &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www2.sas.com/proceedings/sugi27/p190-27.pdf" target="_blank"&gt;http://www2.sas.com/proceedings/sugi27/p190-27.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;PS. DDE is considered very old school. If you can, consider using ODS Tagsets.ExcelXP or ODS Excel (SAS 9.4+) instead.</description>
      <pubDate>Fri, 19 Feb 2016 00:48:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-change-the-background-color-of-an-excel-sheet-using-sas/m-p/250992#M47356</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-02-19T00:48:50Z</dc:date>
    </item>
  </channel>
</rss>

