<?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 Export to Excel, all character variable become blank in SAS Studio</title>
    <link>https://communities.sas.com/t5/SAS-Studio/Export-to-Excel-all-character-variable-become-blank/m-p/451973#M5148</link>
    <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;
&lt;P&gt;As stated, when I export SAS file to Excel (xlsx),&amp;nbsp;all characters variable become blank.&lt;/P&gt;
&lt;P&gt;Any tips, please?&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;HHCFX&lt;/P&gt;</description>
    <pubDate>Fri, 06 Apr 2018 16:40:34 GMT</pubDate>
    <dc:creator>hhchenfx</dc:creator>
    <dc:date>2018-04-06T16:40:34Z</dc:date>
    <item>
      <title>Export to Excel, all character variable become blank</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Export-to-Excel-all-character-variable-become-blank/m-p/451973#M5148</link>
      <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;
&lt;P&gt;As stated, when I export SAS file to Excel (xlsx),&amp;nbsp;all characters variable become blank.&lt;/P&gt;
&lt;P&gt;Any tips, please?&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;HHCFX&lt;/P&gt;</description>
      <pubDate>Fri, 06 Apr 2018 16:40:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Export-to-Excel-all-character-variable-become-blank/m-p/451973#M5148</guid>
      <dc:creator>hhchenfx</dc:creator>
      <dc:date>2018-04-06T16:40:34Z</dc:date>
    </item>
    <item>
      <title>Re: Export to Excel, all character variable become blank</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Export-to-Excel-all-character-variable-become-blank/m-p/451976#M5149</link>
      <description>Hi:&lt;BR /&gt;  What code are you using? There are several methods to export from SAS to Excel -- LIBNAME engine, PROC EXPORT, ODS EXCEL, ODS CSV, ODS TAGSETS.EXCELXP. Without code it's hard to guess which method you're using. Also, what's your data like? Can you post a sample file?&lt;BR /&gt;&lt;BR /&gt;Cynthia</description>
      <pubDate>Fri, 06 Apr 2018 16:43:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Export-to-Excel-all-character-variable-become-blank/m-p/451976#M5149</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2018-04-06T16:43:09Z</dc:date>
    </item>
    <item>
      <title>Re: Export to Excel, all character variable become blank</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Export-to-Excel-all-character-variable-become-blank/m-p/452012#M5151</link>
      <description>&lt;P&gt;After 500 posts here, the necessity of posting code and example data should be a given.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Apr 2018 17:51:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Export-to-Excel-all-character-variable-become-blank/m-p/452012#M5151</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-04-06T17:51:41Z</dc:date>
    </item>
    <item>
      <title>Re: Export to Excel, all character variable become blank</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Export-to-Excel-all-character-variable-become-blank/m-p/452028#M5152</link>
      <description>&lt;P&gt;So I try to export multiple sheet to a Excel file.&lt;/P&gt;
&lt;P&gt;I try to export 1 by 1 and download/open the excel file each time the export complete to see what is going on&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1 - When it come to the a file, export goes no error. But when I open Excel, the notice show up&lt;/P&gt;
&lt;P&gt;"We found a problem with some content in 'file name.xlsx'. Do you want us to try to recover as much as we can? if you trust the source of this workbook, click Yes.&lt;/P&gt;
&lt;P&gt;When work book opened, all worksheets character variable are gone. These variable are user name and type of worker (say employee, contractor).&lt;/P&gt;
&lt;P&gt;The error on Excel show up is:&lt;/P&gt;
&lt;P&gt;Excel completed file level validation and repair. Some parts of this workbook may have been repaired or discarded.&lt;BR /&gt;Removed Part: /xl/sharedStrings.xml part with XML error. (Strings) Illegal xml character. Line 1, column 9431.&lt;BR /&gt;Removed Records: Cell information from /xl/worksheets/sheet1.xml part&lt;BR /&gt;Removed Records: Cell information from /xl/worksheets/sheet2.xml part&lt;BR /&gt;Removed Records: Cell information from /xl/worksheets/sheet3.xml part&lt;BR /&gt;Removed Records: Cell information from /xl/worksheets/sheet4.xml part&lt;BR /&gt;Removed Records: Cell information from /xl/worksheets/sheet5.xml part&lt;BR /&gt;Removed Records: Cell information from /xl/worksheets/sheet6.xml part&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2-When I export only those files I know working (based on the checking process above)&amp;nbsp;&lt;U&gt;all at once&lt;/U&gt;, the same issue show up.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The code I use:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;	PROC EXPORT 
	 data=project_no_id
 		DBMS=xlsx 
	 outfile="&amp;amp;export_folder_EXCEL./Report_Projection.XLSx"
	 replace;			
	sheet="project_no_id";	
	run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Apr 2018 18:09:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Export-to-Excel-all-character-variable-become-blank/m-p/452028#M5152</guid>
      <dc:creator>hhchenfx</dc:creator>
      <dc:date>2018-04-06T18:09:10Z</dc:date>
    </item>
    <item>
      <title>Re: Export to Excel, all character variable become blank</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Export-to-Excel-all-character-variable-become-blank/m-p/452051#M5153</link>
      <description>&lt;P&gt;It sounds like your data file contains tags that are xml values and likely have something incomplete or out of order such as table,&amp;nbsp;row or cell&amp;nbsp;end or start markers without the matching start or end.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Normally I would say it is best would be to show the values in the data set for a few rows.&lt;/P&gt;
&lt;P&gt;But with this error:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;XML error. (Strings) Illegal xml character. Line 1, column 9431.&lt;/P&gt;
&lt;P&gt;I don't want to look at thousands of characters posted here. So I suggest looking very closely at your data.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Apr 2018 18:55:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Export-to-Excel-all-character-variable-become-blank/m-p/452051#M5153</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-04-06T18:55:40Z</dc:date>
    </item>
    <item>
      <title>Re: Export to Excel, all character variable become blank</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Export-to-Excel-all-character-variable-become-blank/m-p/452266#M5156</link>
      <description>&lt;P&gt;Thanks a lot for your suggestion.&lt;/P&gt;
&lt;P&gt;HHC&lt;/P&gt;</description>
      <pubDate>Sun, 08 Apr 2018 00:59:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Export-to-Excel-all-character-variable-become-blank/m-p/452266#M5156</guid>
      <dc:creator>hhchenfx</dc:creator>
      <dc:date>2018-04-08T00:59:11Z</dc:date>
    </item>
  </channel>
</rss>

