<?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: How to import an Excel file into a SAS file using SAS OnDemand for Academics in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/How-to-import-an-Excel-file-into-a-SAS-file-using-SAS-OnDemand/m-p/866185#M38289</link>
    <description>Please post your code as text, it makes it easier to modify your code and show you the correct approach.&lt;BR /&gt;&lt;BR /&gt;You need to provide the full file path for the code, for the datafile parameter. Right click on the Excel file, select properties and you'll find the file path there. &lt;BR /&gt;&lt;BR /&gt;Change the DBMS to XLSX. I think some of the other parameters are also &lt;BR /&gt;&lt;BR /&gt;Here's a video tutorial:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://video.sas.com/detail/video/6295501319001/import-a-microsoft-excel-worksheet" target="_blank"&gt;https://video.sas.com/detail/video/6295501319001/import-a-microsoft-excel-worksheet&lt;/A&gt;</description>
    <pubDate>Fri, 24 Mar 2023 16:09:12 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2023-03-24T16:09:12Z</dc:date>
    <item>
      <title>How to import an Excel file into a SAS file using SAS OnDemand for Academics</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-import-an-Excel-file-into-a-SAS-file-using-SAS-OnDemand/m-p/866160#M38288</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2023-03-24 at 9.08.18 AM.png" style="width: 413px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/82011iC73AEECBA415698A/image-dimensions/413x226?v=v2" width="413" height="226" role="button" title="Screen Shot 2023-03-24 at 9.08.18 AM.png" alt="Screen Shot 2023-03-24 at 9.08.18 AM.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2023-03-24 at 9.08.51 AM.png" style="width: 472px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/82012i2060342CCD963F81/image-dimensions/472x262?v=v2" width="472" height="262" role="button" title="Screen Shot 2023-03-24 at 9.08.51 AM.png" alt="Screen Shot 2023-03-24 at 9.08.51 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I keep having an error trying to import an Excel file as a SAS file using the codes above. What can I do to correct the error?&amp;nbsp; OR, Do you have a different code I can use?&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2023 15:19:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-import-an-Excel-file-into-a-SAS-file-using-SAS-OnDemand/m-p/866160#M38288</guid>
      <dc:creator>millice2</dc:creator>
      <dc:date>2023-03-24T15:19:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to import an Excel file into a SAS file using SAS OnDemand for Academics</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-import-an-Excel-file-into-a-SAS-file-using-SAS-OnDemand/m-p/866185#M38289</link>
      <description>Please post your code as text, it makes it easier to modify your code and show you the correct approach.&lt;BR /&gt;&lt;BR /&gt;You need to provide the full file path for the code, for the datafile parameter. Right click on the Excel file, select properties and you'll find the file path there. &lt;BR /&gt;&lt;BR /&gt;Change the DBMS to XLSX. I think some of the other parameters are also &lt;BR /&gt;&lt;BR /&gt;Here's a video tutorial:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://video.sas.com/detail/video/6295501319001/import-a-microsoft-excel-worksheet" target="_blank"&gt;https://video.sas.com/detail/video/6295501319001/import-a-microsoft-excel-worksheet&lt;/A&gt;</description>
      <pubDate>Fri, 24 Mar 2023 16:09:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-import-an-Excel-file-into-a-SAS-file-using-SAS-OnDemand/m-p/866185#M38289</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2023-03-24T16:09:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to import an Excel file into a SAS file using SAS OnDemand for Academics</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-import-an-Excel-file-into-a-SAS-file-using-SAS-OnDemand/m-p/866191#M38290</link>
      <description>&lt;P&gt;Thank you for the response. It doesn't work the same for SAS Studio following the video. Can a version of SAS help me do the same as in the video?&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2023 16:44:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-import-an-Excel-file-into-a-SAS-file-using-SAS-OnDemand/m-p/866191#M38290</guid>
      <dc:creator>millice2</dc:creator>
      <dc:date>2023-03-24T16:44:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to import an Excel file into a SAS file using SAS OnDemand for Academics</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-import-an-Excel-file-into-a-SAS-file-using-SAS-OnDemand/m-p/866192#M38291</link>
      <description>&lt;P&gt;Below is the code I used.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PROC IMPORT&lt;BR /&gt;DATAFILE="path_to_excel_file.xlsx"&lt;BR /&gt;OUT=SAS_dataset_name&lt;BR /&gt;DBMS=EXCEL REPLACE;&lt;BR /&gt;SHEET="worksheet_name";&lt;BR /&gt;GETNAMES=YES;&lt;BR /&gt;MIXED=YES;&lt;BR /&gt;SCANTEXT=YES;&lt;BR /&gt;USEDATE=YES;&lt;BR /&gt;SCANTIME=YES;&lt;BR /&gt;RUN;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2023 16:46:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-import-an-Excel-file-into-a-SAS-file-using-SAS-OnDemand/m-p/866192#M38291</guid>
      <dc:creator>millice2</dc:creator>
      <dc:date>2023-03-24T16:46:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to import an Excel file into a SAS file using SAS OnDemand for Academics</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-import-an-Excel-file-into-a-SAS-file-using-SAS-OnDemand/m-p/866195#M38292</link>
      <description>And the other corrections?&lt;BR /&gt;&lt;BR /&gt;Code as text not images?&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://video.sas.com/detail/video/4664358166001/using-the-import-data-utility-in-sas-studio?autoStart=true&amp;amp;page=2&amp;amp;q=excel" target="_blank"&gt;https://video.sas.com/detail/video/4664358166001/using-the-import-data-utility-in-sas-studio?autoStart=true&amp;amp;page=2&amp;amp;q=excel&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;proc import datafile  =  '/home/Afiba/Screen addiction.xlsx'&lt;BR /&gt; out  = addiction&lt;BR /&gt; dbms  =  xlsx&lt;BR /&gt; replace&lt;BR /&gt; ;&lt;BR /&gt;run;</description>
      <pubDate>Fri, 24 Mar 2023 16:50:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-import-an-Excel-file-into-a-SAS-file-using-SAS-OnDemand/m-p/866195#M38292</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2023-03-24T16:50:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to import an Excel file into a SAS file using SAS OnDemand for Academics</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-import-an-Excel-file-into-a-SAS-file-using-SAS-OnDemand/m-p/866208#M38294</link>
      <description>What is SAS code for finding the difference in mean of a lifestyle between Group A and Group B adjusting for age and gender?&lt;BR /&gt;&lt;BR /&gt;I used the code below but it didn't work?&lt;BR /&gt;proc glm data=mydata;&lt;BR /&gt;class group gender;&lt;BR /&gt;model lifestyle = group gender age / solution;&lt;BR /&gt;lsmeans group / adjust=bon;&lt;BR /&gt;run;&lt;BR /&gt;</description>
      <pubDate>Fri, 24 Mar 2023 18:06:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-import-an-Excel-file-into-a-SAS-file-using-SAS-OnDemand/m-p/866208#M38294</guid>
      <dc:creator>millice2</dc:creator>
      <dc:date>2023-03-24T18:06:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to import an Excel file into a SAS file using SAS OnDemand for Academics</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-import-an-Excel-file-into-a-SAS-file-using-SAS-OnDemand/m-p/866218#M38295</link>
      <description>Please post as a new question. And clarify what didn't work means. That could mean anything from you missed a semicolon, to using the wrong procedure, to your computer is stuck in an infinite loop and explodes.</description>
      <pubDate>Fri, 24 Mar 2023 18:56:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-import-an-Excel-file-into-a-SAS-file-using-SAS-OnDemand/m-p/866218#M38295</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2023-03-24T18:56:27Z</dc:date>
    </item>
  </channel>
</rss>

