<?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 tagsets.excelxp: special characters to create indentation? in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/tagsets-excelxp-special-characters-to-create-indentation/m-p/166565#M12200</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using ods tagsets.excelxp to output my results.&lt;BR /&gt;Are there any special characters I can add in front of "-Lost-Time" so that "-Lost-Time" appears indented (3-5 spaces is fine) when I output in Excel using proc report?&lt;/P&gt;&lt;P&gt;proc format;&lt;BR /&gt;value $oshaf "a_reg"="Reg"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "b_lost"="-Lost-Time"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "c_darb"="DARB"&lt;BR /&gt; ;&lt;BR /&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 May 2014 19:14:35 GMT</pubDate>
    <dc:creator>gzr2mz39</dc:creator>
    <dc:date>2014-05-20T19:14:35Z</dc:date>
    <item>
      <title>tagsets.excelxp: special characters to create indentation?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/tagsets-excelxp-special-characters-to-create-indentation/m-p/166565#M12200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using ods tagsets.excelxp to output my results.&lt;BR /&gt;Are there any special characters I can add in front of "-Lost-Time" so that "-Lost-Time" appears indented (3-5 spaces is fine) when I output in Excel using proc report?&lt;/P&gt;&lt;P&gt;proc format;&lt;BR /&gt;value $oshaf "a_reg"="Reg"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "b_lost"="-Lost-Time"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "c_darb"="DARB"&lt;BR /&gt; ;&lt;BR /&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 May 2014 19:14:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/tagsets-excelxp-special-characters-to-create-indentation/m-p/166565#M12200</guid>
      <dc:creator>gzr2mz39</dc:creator>
      <dc:date>2014-05-20T19:14:35Z</dc:date>
    </item>
    <item>
      <title>Re: tagsets.excelxp: special characters to create indentation?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/tagsets-excelxp-special-characters-to-create-indentation/m-p/166566#M12201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the non breaking space characters to add the space and then use the PROTECTSPACIALCHARS= attribute so that they are not protected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc format;&lt;BR /&gt;value $oshaf&amp;nbsp;&amp;nbsp;&amp;nbsp; "a_reg"="Reg"&lt;BR /&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; "b_lost"='&amp;nbsp;&amp;nbsp;&amp;nbsp;-Lost-Time'&lt;BR /&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; "c_darb"="DARB" ;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data one;&lt;BR /&gt;length a $10.;&lt;BR /&gt;&amp;nbsp; a="a_reg";&lt;BR /&gt;&amp;nbsp; output;&lt;BR /&gt;&amp;nbsp; a="b_lost";&lt;BR /&gt;&amp;nbsp; output;&lt;BR /&gt;&amp;nbsp; a= "c_darb";&lt;BR /&gt;&amp;nbsp; output;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods tagsets.ExcelXP file="c:\temp.xlml";&lt;/P&gt;&lt;P&gt;proc print style(data)={protectspecialchars=off};&lt;BR /&gt;format a $oshaf.;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;ods tagsets.ExcelXp close;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 May 2014 20:32:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/tagsets-excelxp-special-characters-to-create-indentation/m-p/166566#M12201</guid>
      <dc:creator>Chevell_sas</dc:creator>
      <dc:date>2014-05-20T20:32:27Z</dc:date>
    </item>
    <item>
      <title>Re: tagsets.excelxp: special characters to create indentation?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/tagsets-excelxp-special-characters-to-create-indentation/m-p/166567#M12202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the protectspecialchars suggestion. However, I'm not sure what is the character(s) needed to create space(s) in Excel? Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 May 2014 22:34:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/tagsets-excelxp-special-characters-to-create-indentation/m-p/166567#M12202</guid>
      <dc:creator>gzr2mz39</dc:creator>
      <dc:date>2014-05-20T22:34:45Z</dc:date>
    </item>
    <item>
      <title>Re: tagsets.excelxp: special characters to create indentation?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/tagsets-excelxp-special-characters-to-create-indentation/m-p/166568#M12203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Notice that in Chevell's code he's manually added spaces in his proc format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc format;&lt;/P&gt;&lt;P&gt;value $oshaf&amp;nbsp;&amp;nbsp;&amp;nbsp; "a_reg"="Reg"&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; &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;&amp;nbsp; "b_lost"='&amp;nbsp;&amp;nbsp; -Lost-Time'&lt;/STRONG&gt;&lt;/SPAN&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; "c_darb"="DARB" ;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 May 2014 22:42:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/tagsets-excelxp-special-characters-to-create-indentation/m-p/166568#M12203</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2014-05-20T22:42:43Z</dc:date>
    </item>
    <item>
      <title>Re: tagsets.excelxp: special characters to create indentation?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/tagsets-excelxp-special-characters-to-create-indentation/m-p/166569#M12204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I saw that. It doesn't seem to work for me. No space is added.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 May 2014 22:53:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/tagsets-excelxp-special-characters-to-create-indentation/m-p/166569#M12204</guid>
      <dc:creator>gzr2mz39</dc:creator>
      <dc:date>2014-05-20T22:53:28Z</dc:date>
    </item>
    <item>
      <title>Re: tagsets.excelxp: special characters to create indentation?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/tagsets-excelxp-special-characters-to-create-indentation/m-p/166570#M12205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ALT+255?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't test it right now &lt;img id="smileysad" class="emoticon emoticon-smileysad" src="https://communities.sas.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www2.sas.com/proceedings/sugi31/055-31.pdf" title="http://www2.sas.com/proceedings/sugi31/055-31.pdf"&gt;http://www2.sas.com/proceedings/sugi31/055-31.pdf&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2014 01:54:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/tagsets-excelxp-special-characters-to-create-indentation/m-p/166570#M12205</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2014-05-21T01:54:50Z</dc:date>
    </item>
    <item>
      <title>Re: tagsets.excelxp: special characters to create indentation?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/tagsets-excelxp-special-characters-to-create-indentation/m-p/166571#M12206</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 tried the HTML named entity for non-breaking space with Chevell's code -- just changed the format to:&lt;/P&gt;&lt;PRE&gt;proc format;
value $oshaf&amp;nbsp;&amp;nbsp;&amp;nbsp; "a_reg"="Reg"
&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; "b_lost"='&amp;nbsp;&amp;nbsp; -Lost-Time'
&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; "c_darb"="DARB" ;
run;
&lt;/PRE&gt;&lt;P&gt;Where I used the following: &amp;amp; nbsp ; (ampersand-nbsp-semi-colon) without ANY spaces. I am writing it this way so you can see what needs to be typed. I am also attaching a pix of the syntax and a shot of the output. Since this posting mechanism uses HTML, it may "eat" the non-breaking space entity.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Cynthia&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drat! the post ate my ampersand-nbsp; -- without any spaces -- look at the screen shot.&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/10945i3524C81DE8AC77D2/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="show_nbsp_in_format.png" title="show_nbsp_in_format.png" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2014 02:33:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/tagsets-excelxp-special-characters-to-create-indentation/m-p/166571#M12206</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2014-05-21T02:33:28Z</dc:date>
    </item>
    <item>
      <title>Re: tagsets.excelxp: special characters to create indentation?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/tagsets-excelxp-special-characters-to-create-indentation/m-p/166572#M12207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2014 18:17:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/tagsets-excelxp-special-characters-to-create-indentation/m-p/166572#M12207</guid>
      <dc:creator>gzr2mz39</dc:creator>
      <dc:date>2014-05-21T18:17:06Z</dc:date>
    </item>
  </channel>
</rss>

