<?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: Copying Output and Pasting in Excel - Top Row Not Perfectly Lining Up in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Copying-Output-and-Pasting-in-Excel-Top-Row-Not-Perfectly-Lining/m-p/209627#M15714</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much. I did a little investigating using the ODS tagsets.excelxp recommendation you provided. I am thinking it probably would be easiest to simply create the output in such a way so that it is .csv.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there an option to select in EG that would enable this? Or do I need to go through the processes of downloading the proper program/functionality and write the extra code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Trying to keep as simple as possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 May 2015 15:45:20 GMT</pubDate>
    <dc:creator>Zachary</dc:creator>
    <dc:date>2015-05-05T15:45:20Z</dc:date>
    <item>
      <title>Copying Output and Pasting in Excel - Top Row Not Perfectly Lining Up</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Copying-Output-and-Pasting-in-Excel-Top-Row-Not-Perfectly-Lining/m-p/209625#M15712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;I am doing a very basic PROC FREQ such as the following:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;proc &lt;STRONG style=": ; color: #000080; font-size: 12pt;"&gt;freq&lt;/STRONG&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;data&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; = SQUADS;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;tables&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; SVAR1 * SMNQ_D_POST_CODE&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;nopercent&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;nocum&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;norow&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;nocol&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;SPAN&gt;run;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;The results look very normal:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt;&lt;IMG alt="Capture1.JPG" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/10271_Capture1.JPG" width="450" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;And it usually looks pretty normal when I paste it into Excel:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt;&lt;IMG alt="Capture2.JPG" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/10272_Capture2.JPG" width="450" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;If I go to cell A5 (the 1887) then arrow on over to the right the first row of 0 0 5 0 5 lies on row 4 instead of row 5. Yes, this is a trifle in the grand scheme of things, but it is a little annoying.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;Is this the result of how I have set up my output to look? I am open to any suggestions. For now I am just cognizant of this when I work between platforms.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2015 14:36:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Copying-Output-and-Pasting-in-Excel-Top-Row-Not-Perfectly-Lining/m-p/209625#M15712</guid>
      <dc:creator>Zachary</dc:creator>
      <dc:date>2015-05-05T14:36:18Z</dc:date>
    </item>
    <item>
      <title>Re: Copying Output and Pasting in Excel - Top Row Not Perfectly Lining Up</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Copying-Output-and-Pasting-in-Excel-Top-Row-Not-Perfectly-Lining/m-p/209626#M15713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;More the behavior of copy from HTML and paste into Excel in general. What has happened is that in the paste the text vertical alignment is top. The cells are merged vertically so they appear in the wrong row. Options are to manually align the text vertically after pasting or use an approach that doesn't paste but generates a more appropriate Excel formatted document such as ODS tagsets.excelxp.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2015 14:48:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Copying-Output-and-Pasting-in-Excel-Top-Row-Not-Perfectly-Lining/m-p/209626#M15713</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-05-05T14:48:39Z</dc:date>
    </item>
    <item>
      <title>Re: Copying Output and Pasting in Excel - Top Row Not Perfectly Lining Up</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Copying-Output-and-Pasting-in-Excel-Top-Row-Not-Perfectly-Lining/m-p/209627#M15714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much. I did a little investigating using the ODS tagsets.excelxp recommendation you provided. I am thinking it probably would be easiest to simply create the output in such a way so that it is .csv.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there an option to select in EG that would enable this? Or do I need to go through the processes of downloading the proper program/functionality and write the extra code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Trying to keep as simple as possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2015 15:45:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Copying-Output-and-Pasting-in-Excel-Top-Row-Not-Perfectly-Lining/m-p/209627#M15714</guid>
      <dc:creator>Zachary</dc:creator>
      <dc:date>2015-05-05T15:45:20Z</dc:date>
    </item>
    <item>
      <title>Re: Copying Output and Pasting in Excel - Top Row Not Perfectly Lining Up</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Copying-Output-and-Pasting-in-Excel-Top-Row-Not-Perfectly-Lining/m-p/209628#M15715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Options and methods vary depending on the version of SAS / Enterprise Guide.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Generally instead of Proc Freq I would look to either Proc Report or Proc Tabulate for similar output as those procedures allow overrides and additional options such as text alignment, weight, font size and host of other appearance options. Or direct the Proc Freq output to a data set and use Proc Print with also allows more appearance controls.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Put I would start with a simple ODS output and see if the results are satisfactory.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2015 17:25:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Copying-Output-and-Pasting-in-Excel-Top-Row-Not-Perfectly-Lining/m-p/209628#M15715</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-05-05T17:25:39Z</dc:date>
    </item>
    <item>
      <title>Re: Copying Output and Pasting in Excel - Top Row Not Perfectly Lining Up</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Copying-Output-and-Pasting-in-Excel-Top-Row-Not-Perfectly-Lining/m-p/209629#M15716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much!!! I believe it is the former SPSS-er in me that realy wanted proc freq to work. I will try all of those suggestions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2015 18:53:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Copying-Output-and-Pasting-in-Excel-Top-Row-Not-Perfectly-Lining/m-p/209629#M15716</guid>
      <dc:creator>Zachary</dc:creator>
      <dc:date>2015-05-05T18:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: Copying Output and Pasting in Excel - Top Row Not Perfectly Lining Up</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Copying-Output-and-Pasting-in-Excel-Top-Row-Not-Perfectly-Lining/m-p/209630#M15717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One more thing you might look at: the LIST option on the TABLES statement.&amp;nbsp; The output will be cleaner, but oriented differently.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="font-family: Consolas; font-size: 11pt;"&gt;&lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;proc&lt;/STRONG&gt; &lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;freq&lt;/STRONG&gt; &lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;data&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;=sashelp.cars;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;tables&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; origin * type /&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;nopercent&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;nocum&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;norow&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;nocol&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;LIST&lt;/SPAN&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;run&lt;/STRONG&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="freq.png" class="jive-image" src="https://communities.sas.com/legacyfs/online/10283_freq.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2015 20:34:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Copying-Output-and-Pasting-in-Excel-Top-Row-Not-Perfectly-Lining/m-p/209630#M15717</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2015-05-05T20:34:05Z</dc:date>
    </item>
    <item>
      <title>Re: Copying Output and Pasting in Excel - Top Row Not Perfectly Lining Up</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Copying-Output-and-Pasting-in-Excel-Top-Row-Not-Perfectly-Lining/m-p/209631#M15718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for all of the suggestions!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2015 16:12:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Copying-Output-and-Pasting-in-Excel-Top-Row-Not-Perfectly-Lining/m-p/209631#M15718</guid>
      <dc:creator>Zachary</dc:creator>
      <dc:date>2015-05-06T16:12:28Z</dc:date>
    </item>
  </channel>
</rss>

