<?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: Create a macro variable with spaces in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Create-a-macro-variable-with-spaces/m-p/737877#M230082</link>
    <description>&lt;P&gt;I'm not sure what the question is, the code you provided (if you add a semi-colon at the end of the %LET statement) should work perfectly.&lt;/P&gt;</description>
    <pubDate>Thu, 29 Apr 2021 12:32:20 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2021-04-29T12:32:20Z</dc:date>
    <item>
      <title>Create a macro variable with spaces</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-a-macro-variable-with-spaces/m-p/737876#M230081</link>
      <description>&lt;P&gt;Hello Experts,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm wondering how to create a macro variable with spaces :&amp;nbsp;%let Feuille = Villes et rues&lt;/P&gt;
&lt;P&gt;I would like to use this macro varaible in proc export's sheet statement :&lt;/P&gt;
&lt;P&gt;.....&lt;/P&gt;
&lt;P&gt;dbms=xlsx replace;&lt;BR /&gt;sheet="&amp;amp;Feuille &lt;SPAN style="font-family: inherit;"&gt;.";&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;.....&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your help !&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Apr 2021 12:29:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-a-macro-variable-with-spaces/m-p/737876#M230081</guid>
      <dc:creator>SASdevAnneMarie</dc:creator>
      <dc:date>2021-04-29T12:29:18Z</dc:date>
    </item>
    <item>
      <title>Re: Create a macro variable with spaces</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-a-macro-variable-with-spaces/m-p/737877#M230082</link>
      <description>&lt;P&gt;I'm not sure what the question is, the code you provided (if you add a semi-colon at the end of the %LET statement) should work perfectly.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Apr 2021 12:32:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-a-macro-variable-with-spaces/m-p/737877#M230082</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2021-04-29T12:32:20Z</dc:date>
    </item>
    <item>
      <title>Re: Create a macro variable with spaces</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-a-macro-variable-with-spaces/m-p/737884#M230084</link>
      <description>&lt;P&gt;Just make sure there's no blank between the macro variable name and the dot:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let Feuille = Villes et rues;

proc export
  data=sashelp.class
  file="/folders/myfolders/class.xlsx"
  dbms=xlsx
  replace
;
sheet="&amp;amp;Feuille.";
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 29 Apr 2021 12:53:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-a-macro-variable-with-spaces/m-p/737884#M230084</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-04-29T12:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: Create a macro variable with spaces</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-a-macro-variable-with-spaces/m-p/737891#M230088</link>
      <description>Thank you, Kurt !</description>
      <pubDate>Thu, 29 Apr 2021 13:11:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-a-macro-variable-with-spaces/m-p/737891#M230088</guid>
      <dc:creator>SASdevAnneMarie</dc:creator>
      <dc:date>2021-04-29T13:11:15Z</dc:date>
    </item>
  </channel>
</rss>

