<?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 ODS Excel - AUTOFIT_HEIGHT &amp;amp; VERTICALALIGN not working. in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-ODS-Excel-AUTOFIT-HEIGHT-amp-VERTICALALIGN-not-working/m-p/749033#M38955</link>
    <description>On page 13 for auto fit height it says - "No replacement option is necessary because the Excel destination is a measured destination." Do you mind explaining what is the meaning of this in a layman's language?</description>
    <pubDate>Sat, 19 Jun 2021 14:40:38 GMT</pubDate>
    <dc:creator>insaynasasin</dc:creator>
    <dc:date>2021-06-19T14:40:38Z</dc:date>
    <item>
      <title>SAS ODS Excel - AUTOFIT_HEIGHT &amp; VERTICALALIGN not working.</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-ODS-Excel-AUTOFIT-HEIGHT-amp-VERTICALALIGN-not-working/m-p/747724#M38933</link>
      <description>&lt;P&gt;I am trying to export SAS datasets to Excel file using ODS Excel. I want the data to be in the center vertically and Excel should be able to set the height automatically. I am using AUTOFIT_HEIGHT = "ON"&amp;nbsp;&amp;amp; VERTICALALIGN=M options but the output Excel file has several rows where the height is not appropriate and also the data is not aligned in the center vertically. I am using the following code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ODS ESCAPECHAR="~";&lt;BR /&gt;ODS EXCEL FILE = "here goes location"&lt;/P&gt;&lt;P&gt;OPTIONS(&lt;BR /&gt;SHEET_NAME = "BS"&lt;BR /&gt;AUTOFIT_HEIGHT = "ON"&lt;BR /&gt;);&lt;/P&gt;&lt;P&gt;PROC ODSTEXT;&lt;BR /&gt;P "some text" / STYLE=[COLOR=BLACK FONT_SIZE=10PT FONT_WEIGHT=BOLD];&lt;BR /&gt;P "some text" / STYLE=[COLOR=BLACK FONT_SIZE=10PT FONT_WEIGHT=BOLD];&lt;BR /&gt;P "some text" / STYLE=[COLOR=BLACK FONT_SIZE=10PT FONT_WEIGHT=BOLD];&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;ODS EXCEL OPTIONS(&lt;BR /&gt;AUTOFILTER = "ALL"&lt;BR /&gt;SHEET_INTERVAL = "NONE"&lt;BR /&gt;AUTOFIT_HEIGHT = "ON"&lt;BR /&gt;);&lt;/P&gt;&lt;P&gt;PROC REPORT DATA=SASDATA.BS_PIVOT_2&lt;BR /&gt;STYLE(HEADER)=[BACKGROUNDCOLOR=BLACK COLOR=WHITE TEXTALIGN=L VERTICALALIGN=M]&lt;BR /&gt;STYLE(LINES)=[TEXTALIGN=L VERTICALALIGN=M];&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;ODS EXCEL OPTIONS(&lt;BR /&gt;SHEET_NAME = "IS"&lt;BR /&gt;AUTOFIT_HEIGHT = "ON"&lt;BR /&gt;);&lt;/P&gt;&lt;P&gt;PROC ODSTEXT;&lt;BR /&gt;P "some text" / STYLE=[COLOR=BLACK FONT_SIZE=10PT FONT_WEIGHT=BOLD];&lt;BR /&gt;P "some text" / STYLE=[COLOR=BLACK FONT_SIZE=10PT FONT_WEIGHT=BOLD];&lt;BR /&gt;P "some text" / STYLE=[COLOR=BLACK FONT_SIZE=10PT FONT_WEIGHT=BOLD];&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;ODS EXCEL OPTIONS(&lt;BR /&gt;AUTOFILTER = "ALL"&lt;BR /&gt;SHEET_INTERVAL = "NONE"&lt;BR /&gt;AUTOFIT_HEIGHT = "ON"&lt;BR /&gt;);&lt;/P&gt;&lt;P&gt;PROC REPORT DATA=SASDATA.IS_PIVOT_2&lt;BR /&gt;STYLE(HEADER)=[BACKGROUNDCOLOR=BLACK COLOR=WHITE TEXTALIGN=L VERTICALALIGN=M]&lt;BR /&gt;STYLE(LINES)=[TEXTALIGN=L VERTICALALIGN=M];&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;ODS EXCEL CLOSE;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help me with this issue. This is the first time that I am asking any question on this forum. Apologies if I missed any standard information that is to be provided. Since I am using client data, I might not be able to provide a sample data. Also, I am using SAS Enterprise Guide 7.1 (64-bit).&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jun 2021 09:53:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-ODS-Excel-AUTOFIT-HEIGHT-amp-VERTICALALIGN-not-working/m-p/747724#M38933</guid>
      <dc:creator>insaynasasin</dc:creator>
      <dc:date>2021-06-14T09:53:15Z</dc:date>
    </item>
    <item>
      <title>Re: SAS ODS Excel - AUTOFIT_HEIGHT &amp; VERTICALALIGN not working.</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-ODS-Excel-AUTOFIT-HEIGHT-amp-VERTICALALIGN-not-working/m-p/749028#M38952</link>
      <description>&lt;P&gt;Welcome to the community!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I run your code in SAS Enterprise Guide 8.3, the log shows the following:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;&lt;FONT color="#339966"&gt;WARNING: Option "autofit_height" not recognized. This option will be ignored.&lt;/FONT&gt;
&lt;FONT color="#0000FF"&gt;NOTE: The EXCELXP option autofit_height is not supported in this Excel tagset.&lt;/FONT&gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I think the autofit_height option is only valid when using ExcelXP ODS tagsets. See page 16 of the following for an example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.mwsug.org/proceedings/2009/how/MWSUG-2009-H08.pdf" target="_blank"&gt;https://www.mwsug.org/proceedings/2009/how/MWSUG-2009-H08.pdf&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 19 Jun 2021 13:57:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-ODS-Excel-AUTOFIT-HEIGHT-amp-VERTICALALIGN-not-working/m-p/749028#M38952</guid>
      <dc:creator>Norman21</dc:creator>
      <dc:date>2021-06-19T13:57:53Z</dc:date>
    </item>
    <item>
      <title>Re: SAS ODS Excel - AUTOFIT_HEIGHT &amp; VERTICALALIGN not working.</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-ODS-Excel-AUTOFIT-HEIGHT-amp-VERTICALALIGN-not-working/m-p/749030#M38953</link>
      <description>Is there some other way to ask Excel to auto fit row height as well as column width and set the required vertical alignment?</description>
      <pubDate>Sat, 19 Jun 2021 14:24:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-ODS-Excel-AUTOFIT-HEIGHT-amp-VERTICALALIGN-not-working/m-p/749030#M38953</guid>
      <dc:creator>insaynasasin</dc:creator>
      <dc:date>2021-06-19T14:24:12Z</dc:date>
    </item>
    <item>
      <title>Re: SAS ODS Excel - AUTOFIT_HEIGHT &amp; VERTICALALIGN not working.</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-ODS-Excel-AUTOFIT-HEIGHT-amp-VERTICALALIGN-not-working/m-p/749032#M38954</link>
      <description>&lt;P&gt;Not according to page 12 and 13 of this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.scsug.org/wp-content/uploads/2017/10/Chevell_SCSUG.pdf" target="_blank"&gt;http://www.scsug.org/wp-content/uploads/2017/10/Chevell_SCSUG.pdf&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 19 Jun 2021 14:31:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-ODS-Excel-AUTOFIT-HEIGHT-amp-VERTICALALIGN-not-working/m-p/749032#M38954</guid>
      <dc:creator>Norman21</dc:creator>
      <dc:date>2021-06-19T14:31:51Z</dc:date>
    </item>
    <item>
      <title>Re: SAS ODS Excel - AUTOFIT_HEIGHT &amp; VERTICALALIGN not working.</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-ODS-Excel-AUTOFIT-HEIGHT-amp-VERTICALALIGN-not-working/m-p/749033#M38955</link>
      <description>On page 13 for auto fit height it says - "No replacement option is necessary because the Excel destination is a measured destination." Do you mind explaining what is the meaning of this in a layman's language?</description>
      <pubDate>Sat, 19 Jun 2021 14:40:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-ODS-Excel-AUTOFIT-HEIGHT-amp-VERTICALALIGN-not-working/m-p/749033#M38955</guid>
      <dc:creator>insaynasasin</dc:creator>
      <dc:date>2021-06-19T14:40:38Z</dc:date>
    </item>
    <item>
      <title>Re: SAS ODS Excel - AUTOFIT_HEIGHT &amp; VERTICALALIGN not working.</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-ODS-Excel-AUTOFIT-HEIGHT-amp-VERTICALALIGN-not-working/m-p/749034#M38956</link>
      <description>&lt;P&gt;I think the explanation is in the sentence on the top of page 12 "The output layout has a better&amp;nbsp;appearance in the Excel destination, too, because cells are passed to a routine that measures and&amp;nbsp;resizes columns for optimal display."&lt;/P&gt;</description>
      <pubDate>Sat, 19 Jun 2021 15:35:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-ODS-Excel-AUTOFIT-HEIGHT-amp-VERTICALALIGN-not-working/m-p/749034#M38956</guid>
      <dc:creator>Norman21</dc:creator>
      <dc:date>2021-06-19T15:35:53Z</dc:date>
    </item>
    <item>
      <title>Re: SAS ODS Excel - AUTOFIT_HEIGHT &amp; VERTICALALIGN not working.</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-ODS-Excel-AUTOFIT-HEIGHT-amp-VERTICALALIGN-not-working/m-p/750066#M38964</link>
      <description>&lt;P&gt;For height, you might try the technique discussed here:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/ODS-and-Base-Reporting/Row-height-too-small-after-wrapping-text-ODS-EXCEL/td-p/538492" target="_blank"&gt;https://communities.sas.com/t5/ODS-and-Base-Reporting/Row-height-too-small-after-wrapping-text-ODS-EXCEL/td-p/538492&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jim&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jun 2021 01:31:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-ODS-Excel-AUTOFIT-HEIGHT-amp-VERTICALALIGN-not-working/m-p/750066#M38964</guid>
      <dc:creator>jimbarbour</dc:creator>
      <dc:date>2021-06-24T01:31:42Z</dc:date>
    </item>
  </channel>
</rss>

