<?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 9.4: Adding leading/extra spaces in the title using ods tagsets.excelxp in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-9-4-Adding-leading-extra-spaces-in-the-title-using-ods/m-p/179112#M12628</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; I think this might be a question for Tech Support. I am not sure that you can specify an indent in any way that is respected by Excel when it opens the output file. You can see from this screen shot that the LEFTMARGIN= attribute works in some destinations (like HTML and PDF, but their units to move the margin will need to be different). However, Excel clearly does not use the LEFTMARGIN attribute information even a little bit.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; Here are the TITLE statements I used:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ods escapechar='^';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;Title1 f='Courier New' j=l bold "Project.......: XXXXXX";&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;Title2&amp;nbsp; f='Courier New' j=l bold "Name.........: Age";&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;Title3&amp;nbsp; f='Courier New' j=l bold "Text...........: Data shown below is from Class V.";&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;Title4 j=l f='Courier New'&amp;nbsp; bold&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "^{style[leftmargin=1.8in]If weight is greater than 90 then send them to Medical check up.}";&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/11644i2D725479BE887751/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="leftmargin_works_not_all_dest.png" title="leftmargin_works_not_all_dest.png" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Jul 2014 00:18:42 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2014-07-16T00:18:42Z</dc:date>
    <item>
      <title>SAS 9.4: Adding leading/extra spaces in the title using ods tagsets.excelxp</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-9-4-Adding-leading-extra-spaces-in-the-title-using-ods/m-p/179111#M12627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to add leading/extra spaces in the title using ods tagsets.excelxp. Please find the below code wherein I am trying add extra spaces in "Title4" which is the continuation and want to break to the next line with leading spaces but there is no impact in the output. Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote" modifiedtitle="true"&gt;
&lt;P&gt;ods tagsets.excelxp &lt;/P&gt;
&lt;P&gt;file="c:\temp\test.xls"&lt;/P&gt;
&lt;P&gt;style=Printer&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;options &lt;/P&gt;
&lt;P&gt;(Sheet_Name = "test"&lt;/P&gt;
&lt;P&gt; Orientation = 'landscape'&lt;/P&gt;
&lt;P&gt; FitToPage = 'yes'&lt;/P&gt;
&lt;P&gt; Embedded_Titles = 'yes'&lt;/P&gt;
&lt;P&gt; Frozen_Headers = '8'&lt;/P&gt;
&lt;P&gt; Absolute_Column_Width = '15'&lt;/P&gt;
&lt;P&gt;)&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Title1 j=l bold "Project.......: XXXXXX";&lt;/P&gt;
&lt;P&gt;Title2 j=l bold "Name.........: Age";&lt;/P&gt;
&lt;P&gt;Title3 j=l bold "Text...........: Data shown below is from Class V.";&lt;/P&gt;
&lt;P&gt;Title4 j=l bold "&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If weight is greater than 90 then send them to Medical check up.";&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;proc report data = sashelp.class;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;ods tagsets.excelxp close;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Desired Output:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote" modifiedtitle="true"&gt;
&lt;P&gt;Project.......: XXXXXX &lt;/P&gt;
&lt;P&gt;Name.........: Age &lt;/P&gt;
&lt;P&gt;Text...........: Data shown below is from Class V. &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If weight is greater than 90 then send them to Medical check up. &lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jul 2014 06:00:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-9-4-Adding-leading-extra-spaces-in-the-title-using-ods/m-p/179111#M12627</guid>
      <dc:creator>1239</dc:creator>
      <dc:date>2014-07-15T06:00:45Z</dc:date>
    </item>
    <item>
      <title>Re: SAS 9.4: Adding leading/extra spaces in the title using ods tagsets.excelxp</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-9-4-Adding-leading-extra-spaces-in-the-title-using-ods/m-p/179112#M12628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; I think this might be a question for Tech Support. I am not sure that you can specify an indent in any way that is respected by Excel when it opens the output file. You can see from this screen shot that the LEFTMARGIN= attribute works in some destinations (like HTML and PDF, but their units to move the margin will need to be different). However, Excel clearly does not use the LEFTMARGIN attribute information even a little bit.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; Here are the TITLE statements I used:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ods escapechar='^';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;Title1 f='Courier New' j=l bold "Project.......: XXXXXX";&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;Title2&amp;nbsp; f='Courier New' j=l bold "Name.........: Age";&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;Title3&amp;nbsp; f='Courier New' j=l bold "Text...........: Data shown below is from Class V.";&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;Title4 j=l f='Courier New'&amp;nbsp; bold&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "^{style[leftmargin=1.8in]If weight is greater than 90 then send them to Medical check up.}";&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/11644i2D725479BE887751/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="leftmargin_works_not_all_dest.png" title="leftmargin_works_not_all_dest.png" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2014 00:18:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-9-4-Adding-leading-extra-spaces-in-the-title-using-ods/m-p/179112#M12628</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2014-07-16T00:18:42Z</dc:date>
    </item>
  </channel>
</rss>

