<?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: Error when writing data to Excel using the Excel libname engine in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Error-when-writing-data-to-Excel-using-the-Excel-libname-engine/m-p/207139#M38512</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SAS: a myriad ways to try doing things the wrong way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Jun 2015 13:52:16 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2015-06-16T13:52:16Z</dc:date>
    <item>
      <title>Error when writing data to Excel using the Excel libname engine</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-when-writing-data-to-Excel-using-the-Excel-libname-engine/m-p/207134#M38507</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 need to update an Excel spreadsheet in situ and would like to avoid using DDE so I want to use the Excel libname engine and get errors like the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERROR: Bind parameters: Invalid column name: Name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is when I try writing to the file using a data step. Can anyone tell me how to avoid this error when using the Excel LIBNAME engine to write out the data or what it means so I can take things further myself?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2015 11:02:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-when-writing-data-to-Excel-using-the-Excel-libname-engine/m-p/207134#M38507</guid>
      <dc:creator>jth128</dc:creator>
      <dc:date>2015-06-16T11:02:43Z</dc:date>
    </item>
    <item>
      <title>Re: Error when writing data to Excel using the Excel libname engine</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-when-writing-data-to-Excel-using-the-Excel-libname-engine/m-p/207135#M38508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Look at this:&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/kb/16/842.html" title="http://support.sas.com/kb/16/842.html"&gt;16842 - Writing SAS Variable Labels that Contain Dots to Excel Field/ColumnNames&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2015 11:19:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-when-writing-data-to-Excel-using-the-Excel-libname-engine/m-p/207135#M38508</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2015-06-16T11:19:01Z</dc:date>
    </item>
    <item>
      <title>Re: Error when writing data to Excel using the Excel libname engine</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-when-writing-data-to-Excel-using-the-Excel-libname-engine/m-p/207136#M38509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kurt,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have seen this already but my variable names or labels do not contain any dots so I am sure that it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks anyway,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2015 11:32:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-when-writing-data-to-Excel-using-the-Excel-libname-engine/m-p/207136#M38509</guid>
      <dc:creator>jth128</dc:creator>
      <dc:date>2015-06-16T11:32:21Z</dc:date>
    </item>
    <item>
      <title>Re: Error when writing data to Excel using the Excel libname engine</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-when-writing-data-to-Excel-using-the-Excel-libname-engine/m-p/207137#M38510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmm. All references to this error message point to variable names and labels.&lt;/P&gt;&lt;P&gt;So I'd try to get all names and labels to conform to validvarname=v7 (alphabetic characters, digits and underline) and start from there.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2015 12:06:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-when-writing-data-to-Excel-using-the-Excel-libname-engine/m-p/207137#M38510</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2015-06-16T12:06:02Z</dc:date>
    </item>
    <item>
      <title>Re: Error when writing data to Excel using the Excel libname engine</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-when-writing-data-to-Excel-using-the-Excel-libname-engine/m-p/207138#M38511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kurt,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After another look, I think that I have it sorted. Foolishly, I left a header=no option in the libname statement from an original that I had copied and amended. That appears to have triggered the message and removing it helped. In case anyone else has the same problem, I am sharing this here for reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your time,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2015 13:32:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-when-writing-data-to-Excel-using-the-Excel-libname-engine/m-p/207138#M38511</guid>
      <dc:creator>jth128</dc:creator>
      <dc:date>2015-06-16T13:32:19Z</dc:date>
    </item>
    <item>
      <title>Re: Error when writing data to Excel using the Excel libname engine</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-when-writing-data-to-Excel-using-the-Excel-libname-engine/m-p/207139#M38512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SAS: a myriad ways to try doing things the wrong way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2015 13:52:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-when-writing-data-to-Excel-using-the-Excel-libname-engine/m-p/207139#M38512</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2015-06-16T13:52:16Z</dc:date>
    </item>
  </channel>
</rss>

