<?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 Problem import xls file with special sheet's name in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Problem-import-xls-file-with-special-sheet-s-name/m-p/83647#M24018</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a problem import .xls file to SAS when the sheet's name including " - " (&lt;SPAN class="short_text" id="result_box" lang="en"&gt;&lt;SPAN&gt;Minus sign &lt;/SPAN&gt;&lt;/SPAN&gt;with blanks),please advise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROC IMPORT&lt;/P&gt;&lt;P&gt;OUT= one&lt;/P&gt;&lt;P&gt;DATAFILE= "c:\abc.xls"&lt;/P&gt;&lt;P&gt;DBMS=EXCEL REPLACE;&lt;/P&gt;&lt;P&gt;SHEET="north - east"; /*if I remove the blanks before and after the minus sign that will be ok(sheet="north-east")*/&lt;/P&gt;&lt;P&gt;GETNAMES=YES;&lt;/P&gt;&lt;P&gt;MIXED=YES;&lt;/P&gt;&lt;P&gt;USEDATE=YES;&lt;/P&gt;&lt;P&gt;SCANTIME=YES;&lt;/P&gt;&lt;P&gt;RUN;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Jun 2012 18:47:21 GMT</pubDate>
    <dc:creator>Mike_Davis</dc:creator>
    <dc:date>2012-06-14T18:47:21Z</dc:date>
    <item>
      <title>Problem import xls file with special sheet's name</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Problem-import-xls-file-with-special-sheet-s-name/m-p/83647#M24018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a problem import .xls file to SAS when the sheet's name including " - " (&lt;SPAN class="short_text" id="result_box" lang="en"&gt;&lt;SPAN&gt;Minus sign &lt;/SPAN&gt;&lt;/SPAN&gt;with blanks),please advise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROC IMPORT&lt;/P&gt;&lt;P&gt;OUT= one&lt;/P&gt;&lt;P&gt;DATAFILE= "c:\abc.xls"&lt;/P&gt;&lt;P&gt;DBMS=EXCEL REPLACE;&lt;/P&gt;&lt;P&gt;SHEET="north - east"; /*if I remove the blanks before and after the minus sign that will be ok(sheet="north-east")*/&lt;/P&gt;&lt;P&gt;GETNAMES=YES;&lt;/P&gt;&lt;P&gt;MIXED=YES;&lt;/P&gt;&lt;P&gt;USEDATE=YES;&lt;/P&gt;&lt;P&gt;SCANTIME=YES;&lt;/P&gt;&lt;P&gt;RUN;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2012 18:47:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Problem-import-xls-file-with-special-sheet-s-name/m-p/83647#M24018</guid>
      <dc:creator>Mike_Davis</dc:creator>
      <dc:date>2012-06-14T18:47:21Z</dc:date>
    </item>
    <item>
      <title>Re: Problem import xls file with special sheet's name</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Problem-import-xls-file-with-special-sheet-s-name/m-p/83648#M24019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Put a $ after the name, ie "north - east$"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2012 19:06:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Problem-import-xls-file-with-special-sheet-s-name/m-p/83648#M24019</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2012-06-14T19:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: Problem import xls file with special sheet's name</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Problem-import-xls-file-with-special-sheet-s-name/m-p/83649#M24020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This works,Thank you Reeza!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and would you please explain the meaning of $ here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2012 21:30:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Problem-import-xls-file-with-special-sheet-s-name/m-p/83649#M24020</guid>
      <dc:creator>Mike_Davis</dc:creator>
      <dc:date>2012-06-14T21:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: Problem import xls file with special sheet's name</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Problem-import-xls-file-with-special-sheet-s-name/m-p/83650#M24021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Has to do with name literals and telling SAS how to read a name with spaces in it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to see what you should call the sheet I usually run access my excel workbook via a libname statement,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ie libname myxlfile excel 'C:\abc.xls';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the abc library in the explorer now and you can see how to reference your worksheets.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2012 22:09:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Problem-import-xls-file-with-special-sheet-s-name/m-p/83650#M24021</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2012-06-14T22:09:30Z</dc:date>
    </item>
  </channel>
</rss>

