<?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: PROC Export to Excel, by variable/category, multiple databases in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/PROC-Export-to-Excel-by-variable-category-multiple-databases/m-p/529228#M144541</link>
    <description>&lt;P&gt;Thank you for that, Reeza! I did get all 35 workbooks I needed with the four sheets of data needed. However,&amp;nbsp;I will have to format with ODS Excel because I am getting the&amp;nbsp;&lt;FONT color="#FF6600"&gt;&lt;EM&gt;&amp;nbsp;"The file you are trying to open, 'file.xls', is in a different format than specified by the file extension. Verify that the file is not corrupted and is from a trusted source before opening the file. Do you want to open the file now?".&lt;/EM&gt; &lt;/FONT&gt;So I have to click yes for each file, which is a nuisance given the volume of files.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The second problem I am having is--with the exception of the first output--all&amp;nbsp;4 sheet names are including numbers which are not specified anywhere.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 22 Jan 2019 19:22:11 GMT</pubDate>
    <dc:creator>colabear</dc:creator>
    <dc:date>2019-01-22T19:22:11Z</dc:date>
    <item>
      <title>PROC Export to Excel, by variable/category, multiple databases</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-Export-to-Excel-by-variable-category-multiple-databases/m-p/528452#M144233</link>
      <description>&lt;P&gt;I am trying to create separate reports by a category...in this case "state". There are four tables which I contain data which I need to populate into 4 sheets per state.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%macro a (StateNum, State);&lt;BR /&gt;ods tagsets.excelxp file="&amp;amp;qtr._&amp;amp;&lt;SPAN&gt;StateNum&lt;/SPAN&gt;._&amp;amp;&lt;SPAN&gt;StateNum&lt;/SPAN&gt;..xls"&lt;/P&gt;&lt;P&gt;path='H:\path_name'&lt;/P&gt;&lt;P&gt;style=statistical&lt;BR /&gt;options(sheet_interval='proc'&lt;BR /&gt;absolute_column_width="10,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9");&lt;/P&gt;&lt;P&gt;ods tagsets.excelxp options(sheet_name = "buildings");&lt;/P&gt;&lt;P&gt;proc print data=buildingfinal noobs label;&lt;BR /&gt;where &lt;SPAN&gt;StateNum&lt;/SPAN&gt;=&amp;amp;&lt;SPAN&gt;StateNum&lt;/SPAN&gt;.;&lt;BR /&gt;run;*/&lt;/P&gt;&lt;P&gt;ods tagsets.Excelxp options(sheet_name="streets");&lt;/P&gt;&lt;P&gt;proc print data=streets noobs label;&lt;BR /&gt;&lt;BR /&gt;where &lt;SPAN&gt;StateNum&lt;/SPAN&gt;=&amp;amp;&lt;SPAN&gt;StateNum&lt;/SPAN&gt;.;&lt;BR /&gt;run;*/&lt;/P&gt;&lt;P&gt;ods tagsets.excelxp close;&lt;BR /&gt;%mend a;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%a(1, Alaska) ;&lt;BR /&gt;run; quit;&lt;/P&gt;&lt;P&gt;ods tagsets.excelxp close;&lt;/P&gt;&lt;P&gt;ods listing;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am getting these errors:&lt;/P&gt;&lt;P&gt;ERROR: No body file. TAGSETS.EXCELXP output will not be created.&lt;/P&gt;&lt;P&gt;ERROR 22-322: Syntax error, expecting one of the following: ;, (, ANCHOR, ARCHIVE, ATTRIBUTES,&lt;BR /&gt;AUTHOR, BASE, BODY, BOX_SIZING, CHARSET, CLOSE, CODE, CODEBASE, COLUMNS, CONTENTS,&lt;BR /&gt;CSSSTYLE, DATA, DOM, DPI, ENCODING, EVENT, FILE, FRAME, GFOOTNOTE, GPATH, GTITLE,&lt;BR /&gt;HEADTEXT, IMAGE_DPI, METATEXT, NEWFILE, NOGFOOTNOTE, NOGTITLE, OPERATOR, OPTIONS,&lt;BR /&gt;PACKAGE, PAGE, PARAMETERS, PATH, RECORD_SEPARATOR, SGE, STARTPAGE, STYLE,&lt;BR /&gt;STYLESHEET, TAGSET, TEXT, TRANTAB, TYPE, UNIFORM.&lt;BR /&gt;ERROR 202-322: The option or parameter is not recognized and will be ignored.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any advise?&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jan 2019 21:11:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-Export-to-Excel-by-variable-category-multiple-databases/m-p/528452#M144233</guid>
      <dc:creator>colabear</dc:creator>
      <dc:date>2019-01-18T21:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: PROC Export to Excel, by variable/category, multiple databases</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-Export-to-Excel-by-variable-category-multiple-databases/m-p/528459#M144236</link>
      <description>&lt;P&gt;Your code has some comments symbols in random places and two ODS CLOSE.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try cleaning some of those up.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Additionally, please run the code with:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options mprint symbolgen;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Re-run your&amp;nbsp;macro to test it and post the log.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/109965"&gt;@colabear&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I am trying to create separate reports by a category...in this case "state". There are four tables which I contain data which I need to populate into 4 sheets per state.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;%macro a (StateNum, State);&lt;BR /&gt;ods tagsets.excelxp file="&amp;amp;qtr._&amp;amp;&lt;SPAN&gt;StateNum&lt;/SPAN&gt;._&amp;amp;&lt;SPAN&gt;StateNum&lt;/SPAN&gt;..xls"&lt;/P&gt;
&lt;P&gt;path='H:\path_name'&lt;/P&gt;
&lt;P&gt;style=statistical&lt;BR /&gt;options(sheet_interval='proc'&lt;BR /&gt;absolute_column_width="10,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9");&lt;/P&gt;
&lt;P&gt;ods tagsets.excelxp options(sheet_name = "buildings");&lt;/P&gt;
&lt;P&gt;proc print data=buildingfinal noobs label;&lt;BR /&gt;where &lt;SPAN&gt;StateNum&lt;/SPAN&gt;=&amp;amp;&lt;SPAN&gt;StateNum&lt;/SPAN&gt;.;&lt;BR /&gt;run;*/&lt;/P&gt;
&lt;P&gt;ods tagsets.Excelxp options(sheet_name="streets");&lt;/P&gt;
&lt;P&gt;proc print data=streets noobs label;&lt;BR /&gt;&lt;BR /&gt;where &lt;SPAN&gt;StateNum&lt;/SPAN&gt;=&amp;amp;&lt;SPAN&gt;StateNum&lt;/SPAN&gt;.;&lt;BR /&gt;run;*/&lt;/P&gt;
&lt;P&gt;ods tagsets.excelxp close;&lt;BR /&gt;%mend a;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;%a(1, Alaska) ;&lt;BR /&gt;run; quit;&lt;/P&gt;
&lt;P&gt;ods tagsets.excelxp close;&lt;/P&gt;
&lt;P&gt;ods listing;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am getting these errors:&lt;/P&gt;
&lt;P&gt;ERROR: No body file. TAGSETS.EXCELXP output will not be created.&lt;/P&gt;
&lt;P&gt;ERROR 22-322: Syntax error, expecting one of the following: ;, (, ANCHOR, ARCHIVE, ATTRIBUTES,&lt;BR /&gt;AUTHOR, BASE, BODY, BOX_SIZING, CHARSET, CLOSE, CODE, CODEBASE, COLUMNS, CONTENTS,&lt;BR /&gt;CSSSTYLE, DATA, DOM, DPI, ENCODING, EVENT, FILE, FRAME, GFOOTNOTE, GPATH, GTITLE,&lt;BR /&gt;HEADTEXT, IMAGE_DPI, METATEXT, NEWFILE, NOGFOOTNOTE, NOGTITLE, OPERATOR, OPTIONS,&lt;BR /&gt;PACKAGE, PAGE, PARAMETERS, PATH, RECORD_SEPARATOR, SGE, STARTPAGE, STYLE,&lt;BR /&gt;STYLESHEET, TAGSET, TEXT, TRANTAB, TYPE, UNIFORM.&lt;BR /&gt;ERROR 202-322: The option or parameter is not recognized and will be ignored.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any advise?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jan 2019 21:45:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-Export-to-Excel-by-variable-category-multiple-databases/m-p/528459#M144236</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-01-18T21:45:43Z</dc:date>
    </item>
    <item>
      <title>Re: PROC Export to Excel, by variable/category, multiple databases</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-Export-to-Excel-by-variable-category-multiple-databases/m-p/528471#M144240</link>
      <description>&lt;P&gt;OK here is the cleaned up code which worked:&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;options mprint symbolgen;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;%let qtr = "SFY 2018 Quarter 1";&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;%macro a (State, StateName);&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;ods tagsets.excelxp file='&amp;amp;qtr._&amp;amp;&lt;SPAN&gt;State&lt;/SPAN&gt;._&amp;amp;&lt;SPAN&gt;State&lt;/SPAN&gt;Name..xls'&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;path='H:\Data'&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;style=statistical&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;options(sheet_interval='proc'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;absolute_column_width="10,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9");&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;ods tagsets.excelxp options(sheet_name = "buildings");&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;proc print data=buildingfinal&amp;nbsp;noobs label;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;where &lt;SPAN&gt;State&lt;/SPAN&gt;=&amp;amp;&lt;SPAN&gt;State&lt;/SPAN&gt;.;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;run;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;ods tagsets.Excelxp options(sheet_name="streets");&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;proc print data=streets noobs label;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;where &lt;SPAN&gt;State&lt;/SPAN&gt;=&amp;amp;&lt;SPAN&gt;State&lt;/SPAN&gt;.;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;run;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;%mend a;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;%a(1, Alaska) %a(3, California) ;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;run; &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;quit;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;ods tagsets.excelxp close;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;ods listing;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This&amp;nbsp;solution&amp;nbsp;generated an spreadsheet with the sheets I needed from each dataset, but only for one of the states. Another problem I am having is the filename for the output does not reflect the format I want:&amp;nbsp;&lt;SPAN&gt;&amp;amp;qtr._&amp;amp;&lt;/SPAN&gt;&lt;SPAN&gt;State&lt;/SPAN&gt;&lt;SPAN&gt;._&amp;amp;&lt;/SPAN&gt;&lt;SPAN&gt;State&lt;/SPAN&gt;&lt;SPAN&gt;Name.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you for helping me. At least i'm getting some progress!&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jan 2019 22:35:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-Export-to-Excel-by-variable-category-multiple-databases/m-p/528471#M144240</guid>
      <dc:creator>colabear</dc:creator>
      <dc:date>2019-01-18T22:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: PROC Export to Excel, by variable/category, multiple databases</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-Export-to-Excel-by-variable-category-multiple-databases/m-p/528480#M144242</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This&amp;nbsp;solution&amp;nbsp;generated an spreadsheet with the sheets I needed from each dataset, but only for one of the states. Another problem I am having is the filename for the output does not reflect the format I want:&amp;nbsp;&lt;SPAN&gt;&amp;amp;qtr._&amp;amp;&lt;/SPAN&gt;&lt;SPAN&gt;State&lt;/SPAN&gt;&lt;SPAN&gt;._&amp;amp;&lt;/SPAN&gt;&lt;SPAN&gt;State&lt;/SPAN&gt;&lt;SPAN&gt;Name.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you for helping me. At least i'm getting some progress!&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You need double quotes around the file path. You only get one response because it overwrites the previous file when it runs the second time because&amp;nbsp;it's the same name.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/109965"&gt;@colabear&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;OK here is the cleaned up code which worked:&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;options mprint symbolgen;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;%let qtr = "SFY 2018 Quarter 1";&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;%macro a (State, StateName);&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;ods tagsets.excelxp file='&amp;amp;qtr._&amp;amp;&lt;SPAN&gt;State&lt;/SPAN&gt;._&amp;amp;&lt;SPAN&gt;State&lt;/SPAN&gt;Name..xls'&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;path='H:\Data'&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;style=statistical&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;options(sheet_interval='proc'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;absolute_column_width="10,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9");&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;ods tagsets.excelxp options(sheet_name = "buildings");&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;proc print data=buildingfinal&amp;nbsp;noobs label;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;where &lt;SPAN&gt;State&lt;/SPAN&gt;=&amp;amp;&lt;SPAN&gt;State&lt;/SPAN&gt;.;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;run;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;ods tagsets.Excelxp options(sheet_name="streets");&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;proc print data=streets noobs label;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;where &lt;SPAN&gt;State&lt;/SPAN&gt;=&amp;amp;&lt;SPAN&gt;State&lt;/SPAN&gt;.;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;run;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;%mend a;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;%a(1, Alaska) %a(3, California) ;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;run; &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;quit;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;ods tagsets.excelxp close;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;ods listing;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This&amp;nbsp;solution&amp;nbsp;generated an spreadsheet with the sheets I needed from each dataset, but only for one of the states. Another problem I am having is the filename for the output does not reflect the format I want:&amp;nbsp;&lt;SPAN&gt;&amp;amp;qtr._&amp;amp;&lt;/SPAN&gt;&lt;SPAN&gt;State&lt;/SPAN&gt;&lt;SPAN&gt;._&amp;amp;&lt;/SPAN&gt;&lt;SPAN&gt;State&lt;/SPAN&gt;&lt;SPAN&gt;Name.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you for helping me. At least i'm getting some progress!&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jan 2019 23:36:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-Export-to-Excel-by-variable-category-multiple-databases/m-p/528480#M144242</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-01-18T23:36:38Z</dc:date>
    </item>
    <item>
      <title>Re: PROC Export to Excel, by variable/category, multiple databases</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-Export-to-Excel-by-variable-category-multiple-databases/m-p/529228#M144541</link>
      <description>&lt;P&gt;Thank you for that, Reeza! I did get all 35 workbooks I needed with the four sheets of data needed. However,&amp;nbsp;I will have to format with ODS Excel because I am getting the&amp;nbsp;&lt;FONT color="#FF6600"&gt;&lt;EM&gt;&amp;nbsp;"The file you are trying to open, 'file.xls', is in a different format than specified by the file extension. Verify that the file is not corrupted and is from a trusted source before opening the file. Do you want to open the file now?".&lt;/EM&gt; &lt;/FONT&gt;So I have to click yes for each file, which is a nuisance given the volume of files.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The second problem I am having is--with the exception of the first output--all&amp;nbsp;4 sheet names are including numbers which are not specified anywhere.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jan 2019 19:22:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-Export-to-Excel-by-variable-category-multiple-databases/m-p/529228#M144541</guid>
      <dc:creator>colabear</dc:creator>
      <dc:date>2019-01-22T19:22:11Z</dc:date>
    </item>
    <item>
      <title>Re: PROC Export to Excel, by variable/category, multiple databases</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-Export-to-Excel-by-variable-category-multiple-databases/m-p/529293#M144584</link>
      <description>ODS TAGSETS excelxp generates XML files, that's why. You can switch to ODS EXCEL if you have the appropriate version. Or save the files with an XML extension but open them with Excel.  &lt;BR /&gt;&lt;BR /&gt;Try setting the sheet_label to be blank explicitly to get rid of the numbers. And make sure you're using the latest version of the tag sets, you sometimes need to update it.</description>
      <pubDate>Tue, 22 Jan 2019 22:46:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-Export-to-Excel-by-variable-category-multiple-databases/m-p/529293#M144584</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-01-22T22:46:07Z</dc:date>
    </item>
    <item>
      <title>Re: PROC Export to Excel, by variable/category, multiple databases</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-Export-to-Excel-by-variable-category-multiple-databases/m-p/529489#M144685</link>
      <description>&lt;P&gt;Thank you so much for your help! I now have a successful program.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jan 2019 18:45:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-Export-to-Excel-by-variable-category-multiple-databases/m-p/529489#M144685</guid>
      <dc:creator>colabear</dc:creator>
      <dc:date>2019-01-23T18:45:37Z</dc:date>
    </item>
  </channel>
</rss>

