<?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: Window Size for Excel from ODS/ExcelXP in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Window-Size-for-Excel-from-ODS-ExcelXP/m-p/69029#M7931</link>
    <description>I submitted a technical support inquiry, and found that WindowHeight and WindowWidth can be controlled using proc template. Sample code that Chevell sent follows:&lt;BR /&gt;
&lt;BR /&gt;
define tagset tagsets.test;&lt;BR /&gt;
parent=tagsets.excelxp;&lt;BR /&gt;
define event doc;                                                       &lt;BR /&gt;
         start:                                                               &lt;BR /&gt;
            eval $numberOfWorksheets 0;                                       &lt;BR /&gt;
            put "
            putq " encoding=" encoding;                                       &lt;BR /&gt;
            put "?&amp;gt;" NL NL;                                                   &lt;BR /&gt;
            putl "";                &lt;BR /&gt;
            putl                                                              &lt;BR /&gt;
                  "&lt;WORKBOOK xmlns="" schemas-microsoft-com:office:spreadsheet=""&gt;
            putl                                                              &lt;BR /&gt;
                  "          xmlns:x=""urn:schemas-microsoft-com:office:excel""";                                                                           &lt;BR /&gt;
            putl                                                              &lt;BR /&gt;
                  "          xmlns:ss=""urn:schemas-microsoft-com:office:spreadsheet""";                                                                    &lt;BR /&gt;
            putl "          xmlns:html=""http://www.w3.org/TR/REC-html40""&amp;gt;"; &lt;BR /&gt;
            putl                                                              &lt;BR /&gt;
                  "&lt;DOCUMENTPROPERTIES xmlns="" schemas-microsoft-com:office=""&gt;";                                                                        &lt;BR /&gt;
                                                                              &lt;BR /&gt;
            do /if operator;                                                  &lt;BR /&gt;
               putl "&lt;AUTHOR&gt;" operator "&lt;/AUTHOR&gt;";                          &lt;BR /&gt;
               putl "&lt;LASTAUTHOR&gt;" operator "&lt;/LASTAUTHOR&gt;";                  &lt;BR /&gt;
            done;                                                             &lt;BR /&gt;
                                                                              &lt;BR /&gt;
            putl "&lt;CREATED&gt;" date "T" time "&lt;/CREATED&gt;";                      &lt;BR /&gt;
            putl "&lt;LASTSAVED&gt;" date "T" time "&lt;/LASTSAVED&gt;";                  &lt;BR /&gt;
            putl "&lt;COMPANY&gt;SAS Institute Inc. &lt;A href="http://www.sas.com" target="_blank"&gt;http://www.sas.com&lt;/A&gt;&lt;/COMPANY&gt;";  &lt;BR /&gt;
            putl "&lt;VERSION&gt;" saslongversion "&lt;/VERSION&gt;";                     &lt;BR /&gt;
            putl "&lt;/DOCUMENTPROPERTIES&gt;";  &lt;BR /&gt;
 &lt;BR /&gt;
			/* TO window width and height, modify the tagset below */&lt;BR /&gt;
            putl "&lt;EXCELWORKBOOK xmlns="" schemas-microsoft-com:office:excel=""&gt;" NL;&lt;BR /&gt;
            putl "&lt;WINDOWHEIGHT&gt;17000&lt;/WINDOWHEIGHT&gt;";&lt;BR /&gt;
            putl "&lt;WINDOWWIDTH&gt;20000&lt;/WINDOWWIDTH&gt;";&lt;BR /&gt;
            putl "&lt;WINDOWTOPX&gt;480&lt;/WINDOWTOPX&gt;";&lt;BR /&gt;
            putl "&lt;WINDOWTOPY&gt;120&lt;/WINDOWTOPY&gt;";&lt;BR /&gt;
            putl "&lt;PROTECTSTRUCTURE&gt;False&lt;/PROTECTSTRUCTURE&gt;";&lt;BR /&gt;
            putl "&lt;PROTECTWINDOWS&gt;False&lt;/PROTECTWINDOWS&gt;";&lt;BR /&gt;
            putl "&lt;/EXCELWORKBOOK&gt;"; &lt;BR /&gt;
                                                                              &lt;BR /&gt;
         finish:                                                              &lt;BR /&gt;
            putl "&lt;/WORKBOOK&gt;";                                               &lt;BR /&gt;
      end;                                                                    &lt;BR /&gt;
 end;&lt;BR /&gt;
run;

Message was edited by: Marty</description>
    <pubDate>Tue, 07 Sep 2010 20:20:33 GMT</pubDate>
    <dc:creator>Marty</dc:creator>
    <dc:date>2010-09-07T20:20:33Z</dc:date>
    <item>
      <title>Window Size for Excel from ODS/ExcelXP</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Window-Size-for-Excel-from-ODS-ExcelXP/m-p/69027#M7929</link>
      <description>Are there options to specify the size of window that Excel will open when you generate XML code using ODS and the ExcelXP tagset?&lt;BR /&gt;
&lt;BR /&gt;
Worksheets I generate all seem to open in a small window, requiring a resize to see the reports that have been generated.</description>
      <pubDate>Wed, 01 Sep 2010 14:20:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Window-Size-for-Excel-from-ODS-ExcelXP/m-p/69027#M7929</guid>
      <dc:creator>Marty</dc:creator>
      <dc:date>2010-09-01T14:20:59Z</dc:date>
    </item>
    <item>
      <title>Re: Window Size for Excel from ODS/ExcelXP</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Window-Size-for-Excel-from-ODS-ExcelXP/m-p/69028#M7930</link>
      <description>Hi:&lt;BR /&gt;
  In my version of TAGSETS.EXCELXP, when I use the doc='Help' suboption, I don't see any window sizing options.&lt;BR /&gt;
[pre]&lt;BR /&gt;
ods tagsets.excelxp file='print.xls' style=sasweb&lt;BR /&gt;
    options(doc='Help');&lt;BR /&gt;
[/pre]&lt;BR /&gt;
                                                          &lt;BR /&gt;
However, when i use Office 2007, I do note this behavior: when I maximize my Excel window and then close Excel while in maximized view, the &lt;U&gt;next&lt;/U&gt; time I open a spreadsheet, it opens Excel with the last-used settings -- in maximized view. And, if I resize the Excel window to be really tiny before I close Excel -- then -THAT- is the size (tiny) used the next time I open Excel. If there is an XML setting for display size, I don't see it.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Wed, 01 Sep 2010 14:51:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Window-Size-for-Excel-from-ODS-ExcelXP/m-p/69028#M7930</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2010-09-01T14:51:46Z</dc:date>
    </item>
    <item>
      <title>Re: Window Size for Excel from ODS/ExcelXP</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Window-Size-for-Excel-from-ODS-ExcelXP/m-p/69029#M7931</link>
      <description>I submitted a technical support inquiry, and found that WindowHeight and WindowWidth can be controlled using proc template. Sample code that Chevell sent follows:&lt;BR /&gt;
&lt;BR /&gt;
define tagset tagsets.test;&lt;BR /&gt;
parent=tagsets.excelxp;&lt;BR /&gt;
define event doc;                                                       &lt;BR /&gt;
         start:                                                               &lt;BR /&gt;
            eval $numberOfWorksheets 0;                                       &lt;BR /&gt;
            put "
            putq " encoding=" encoding;                                       &lt;BR /&gt;
            put "?&amp;gt;" NL NL;                                                   &lt;BR /&gt;
            putl "";                &lt;BR /&gt;
            putl                                                              &lt;BR /&gt;
                  "&lt;WORKBOOK xmlns="" schemas-microsoft-com:office:spreadsheet=""&gt;
            putl                                                              &lt;BR /&gt;
                  "          xmlns:x=""urn:schemas-microsoft-com:office:excel""";                                                                           &lt;BR /&gt;
            putl                                                              &lt;BR /&gt;
                  "          xmlns:ss=""urn:schemas-microsoft-com:office:spreadsheet""";                                                                    &lt;BR /&gt;
            putl "          xmlns:html=""http://www.w3.org/TR/REC-html40""&amp;gt;"; &lt;BR /&gt;
            putl                                                              &lt;BR /&gt;
                  "&lt;DOCUMENTPROPERTIES xmlns="" schemas-microsoft-com:office=""&gt;";                                                                        &lt;BR /&gt;
                                                                              &lt;BR /&gt;
            do /if operator;                                                  &lt;BR /&gt;
               putl "&lt;AUTHOR&gt;" operator "&lt;/AUTHOR&gt;";                          &lt;BR /&gt;
               putl "&lt;LASTAUTHOR&gt;" operator "&lt;/LASTAUTHOR&gt;";                  &lt;BR /&gt;
            done;                                                             &lt;BR /&gt;
                                                                              &lt;BR /&gt;
            putl "&lt;CREATED&gt;" date "T" time "&lt;/CREATED&gt;";                      &lt;BR /&gt;
            putl "&lt;LASTSAVED&gt;" date "T" time "&lt;/LASTSAVED&gt;";                  &lt;BR /&gt;
            putl "&lt;COMPANY&gt;SAS Institute Inc. &lt;A href="http://www.sas.com" target="_blank"&gt;http://www.sas.com&lt;/A&gt;&lt;/COMPANY&gt;";  &lt;BR /&gt;
            putl "&lt;VERSION&gt;" saslongversion "&lt;/VERSION&gt;";                     &lt;BR /&gt;
            putl "&lt;/DOCUMENTPROPERTIES&gt;";  &lt;BR /&gt;
 &lt;BR /&gt;
			/* TO window width and height, modify the tagset below */&lt;BR /&gt;
            putl "&lt;EXCELWORKBOOK xmlns="" schemas-microsoft-com:office:excel=""&gt;" NL;&lt;BR /&gt;
            putl "&lt;WINDOWHEIGHT&gt;17000&lt;/WINDOWHEIGHT&gt;";&lt;BR /&gt;
            putl "&lt;WINDOWWIDTH&gt;20000&lt;/WINDOWWIDTH&gt;";&lt;BR /&gt;
            putl "&lt;WINDOWTOPX&gt;480&lt;/WINDOWTOPX&gt;";&lt;BR /&gt;
            putl "&lt;WINDOWTOPY&gt;120&lt;/WINDOWTOPY&gt;";&lt;BR /&gt;
            putl "&lt;PROTECTSTRUCTURE&gt;False&lt;/PROTECTSTRUCTURE&gt;";&lt;BR /&gt;
            putl "&lt;PROTECTWINDOWS&gt;False&lt;/PROTECTWINDOWS&gt;";&lt;BR /&gt;
            putl "&lt;/EXCELWORKBOOK&gt;"; &lt;BR /&gt;
                                                                              &lt;BR /&gt;
         finish:                                                              &lt;BR /&gt;
            putl "&lt;/WORKBOOK&gt;";                                               &lt;BR /&gt;
      end;                                                                    &lt;BR /&gt;
 end;&lt;BR /&gt;
run;

Message was edited by: Marty</description>
      <pubDate>Tue, 07 Sep 2010 20:20:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Window-Size-for-Excel-from-ODS-ExcelXP/m-p/69029#M7931</guid>
      <dc:creator>Marty</dc:creator>
      <dc:date>2010-09-07T20:20:33Z</dc:date>
    </item>
    <item>
      <title>Re: Window Size for Excel from ODS/ExcelXP</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Window-Size-for-Excel-from-ODS-ExcelXP/m-p/69030#M7932</link>
      <description>Hi:&lt;BR /&gt;
  The forum posting mechanism uses HTML tags. So when you post code that has &amp;lt; or &amp;gt; in the code, the posting that you make frequently gets truncated, Review this previous forum posting &lt;BR /&gt;
&lt;A href="http://support.sas.com/forums/thread.jspa?messageID=27609毙" target="_blank"&gt;http://support.sas.com/forums/thread.jspa?messageID=27609毙&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
..for how to hide or mask the &amp;lt; and &amp;gt; tags through the use of the [pre] and [/pre] tags around your code and output in order to maintain indenting and spacing and avoid truncation.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia&lt;BR /&gt;
&lt;BR /&gt;
PS...If there is a fix for things like this, Tech Support generally knows about it! They are wonderful!</description>
      <pubDate>Wed, 08 Sep 2010 13:43:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Window-Size-for-Excel-from-ODS-ExcelXP/m-p/69030#M7932</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2010-09-08T13:43:47Z</dc:date>
    </item>
  </channel>
</rss>

