<?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: SAS and Excel DDE: unhide columns and rows of each worksheet in a excel file in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-and-Excel-DDE-unhide-columns-and-rows-of-each-worksheet-in-a/m-p/266537#M15737</link>
    <description>&lt;P&gt;Yes and no.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You could move up, but it's better to be safe and wait for Excel to open the file first - that's what the 8 seconds is for. That seems a bit high though, so you may be able to reduce that to 2/3 if your system is fast.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your first data _null_ step doesn't do anything by the way...but I'm assuming you've only posted portions of code because the following doesn't make a lot of sense.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 26 Apr 2016 20:43:13 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2016-04-26T20:43:13Z</dc:date>
    <item>
      <title>SAS and Excel DDE: unhide columns and rows of each worksheet in a excel file</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-and-Excel-DDE-unhide-columns-and-rows-of-each-worksheet-in-a/m-p/266475#M15728</link>
      <description>&lt;P&gt;Dear SAS support community users:&lt;BR /&gt;&lt;BR /&gt;I use a lot of sas programs to verify the excel format reports.&lt;BR /&gt;&lt;BR /&gt;The procedure is coded in sas:&lt;BR /&gt;&lt;BR /&gt;step 1: open particular excel program :&lt;BR /&gt;&lt;BR /&gt;options noxwait noxsync ;&lt;BR /&gt;&lt;BR /&gt;%let Excel_path = 'C:\Program Files (x86)\Microsoft Office\Office15\EXCEL.EXE' ;&lt;BR /&gt;Data _null_ ;&lt;BR /&gt;&amp;nbsp; x = sleep(8);&lt;BR /&gt;&amp;nbsp; run;&lt;BR /&gt;&lt;BR /&gt;data _null_;&lt;BR /&gt;file DDEcmds;&lt;BR /&gt;put '[OPEN(&amp;lt;path.&amp;gt;\test.xls)]';&lt;BR /&gt;z = sleep(8);&lt;BR /&gt;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;step 2: MANUAL UNHIDE all columns and rows in each worksheet&lt;BR /&gt;&lt;BR /&gt;step 3: run sas program&lt;BR /&gt;&lt;BR /&gt;Is it possible that merging step 1 and step 2 together ?&lt;BR /&gt;My purpose is unhide all columns and rows in each worksheet by coding.&lt;BR /&gt;&lt;BR /&gt;Thanks for your information.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;William&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2016 17:58:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-and-Excel-DDE-unhide-columns-and-rows-of-each-worksheet-in-a/m-p/266475#M15728</guid>
      <dc:creator>wtien196838</dc:creator>
      <dc:date>2016-04-26T17:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: SAS and Excel DDE: unhide columns and rows of each worksheet in a excel file</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-and-Excel-DDE-unhide-columns-and-rows-of-each-worksheet-in-a/m-p/266537#M15737</link>
      <description>&lt;P&gt;Yes and no.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You could move up, but it's better to be safe and wait for Excel to open the file first - that's what the 8 seconds is for. That seems a bit high though, so you may be able to reduce that to 2/3 if your system is fast.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your first data _null_ step doesn't do anything by the way...but I'm assuming you've only posted portions of code because the following doesn't make a lot of sense.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2016 20:43:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-and-Excel-DDE-unhide-columns-and-rows-of-each-worksheet-in-a/m-p/266537#M15737</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-04-26T20:43:13Z</dc:date>
    </item>
    <item>
      <title>Re: SAS and Excel DDE: unhide columns and rows of each worksheet in a excel file</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-and-Excel-DDE-unhide-columns-and-rows-of-each-worksheet-in-a/m-p/266569#M15748</link>
      <description>&lt;P&gt;Hello William,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Section 6, item 6 (p. 5) of &lt;A href="http://www2.sas.com/proceedings/sugi26/p011-26.pdf" target="_blank"&gt;this famous SUGI&amp;nbsp;paper on DDE by Koen Vyverman&lt;/A&gt;&amp;nbsp;explains how widths of a range of columns can be changed to a best-fit width. (It's also possible to specify a width numerically.)&amp;nbsp;The corresponding syntax for row heights seems to be exactly analogous, according to &lt;A href="http://www2.sas.com/proceedings/sugi30/089-30.pdf" target="_blank"&gt;this SUGI paper&lt;/A&gt;, p. 12, Fig. 11. I think, these techniques (with suitably chosen cell ranges) can also unhide columns/rows, as they are hidden because of width/height equal to zero. Since I don't have Excel on my workstation, I cannot test it, unfortunately.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2016 22:28:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-and-Excel-DDE-unhide-columns-and-rows-of-each-worksheet-in-a/m-p/266569#M15748</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2016-04-26T22:28:26Z</dc:date>
    </item>
  </channel>
</rss>

