<?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: Copy and paste SAS Studio code to Word Document in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Copy-and-paste-SAS-Studio-code-to-Word-Document/m-p/644636#M192577</link>
    <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/41748"&gt;@alexal&lt;/a&gt;&amp;nbsp;I meant: Do you have a way for this shortcoming to appear on the developers' radar?&lt;/P&gt;</description>
    <pubDate>Fri, 01 May 2020 23:52:06 GMT</pubDate>
    <dc:creator>ChrisNZ</dc:creator>
    <dc:date>2020-05-01T23:52:06Z</dc:date>
    <item>
      <title>Copy and paste SAS Studio code to Word Document</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Copy-and-paste-SAS-Studio-code-to-Word-Document/m-p/644300#M192438</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have been working with SAS 9.4 software and now I am working with SAS studio. With SAS 9.4 it was very easy to "copy and paste" the SAS code to a word document because it keeps the format of SAS (colours, etc.) however I wasn't able to do it with SAS studio, is there any trick to do that simple task keeping the SAS format?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Many thanks!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Apr 2020 23:45:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Copy-and-paste-SAS-Studio-code-to-Word-Document/m-p/644300#M192438</guid>
      <dc:creator>Sou1</dc:creator>
      <dc:date>2020-04-30T23:45:54Z</dc:date>
    </item>
    <item>
      <title>Re: Copy and paste SAS code to Word Document</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Copy-and-paste-SAS-Studio-code-to-Word-Document/m-p/644307#M192442</link>
      <description>&lt;P&gt;&lt;STRIKE&gt;Are you using Paste Special or Paste?&lt;/STRIKE&gt;&lt;/P&gt;
&lt;P&gt;Had a chance to test that, doesn't work in my two second test. I had to use the right click code, select and paste special. Even when selecting source formatting the colour was lost.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That's definitely annoying as heck.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One, long, workaround is to paste it into a different editor that does maintain the formatting and then into Word.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;NotePad++ and VisualStudio both have extensions to color code your SAS programs.&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/325234"&gt;@Sou1&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have been working with SAS 9.4 software and now I am working with SAS studio. With SAS 9.4 it was very easy to "copy and paste" the SAS code to a word document because it keeps the format of SAS (colours, etc.) however I wasn't able to do it with SAS studio, is there any trick to do that simple task keeping the SAS format?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Many thanks!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Apr 2020 17:01:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Copy-and-paste-SAS-Studio-code-to-Word-Document/m-p/644307#M192442</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-04-30T17:01:55Z</dc:date>
    </item>
    <item>
      <title>Re: Copy and paste SAS code to Word Document</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Copy-and-paste-SAS-Studio-code-to-Word-Document/m-p/644342#M192451</link>
      <description>Many thanks! It's really easy to import the results but the code loses all its format! I'll try that.&lt;BR /&gt;&lt;BR /&gt;Thanks!</description>
      <pubDate>Thu, 30 Apr 2020 18:19:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Copy-and-paste-SAS-Studio-code-to-Word-Document/m-p/644342#M192451</guid>
      <dc:creator>Sou1</dc:creator>
      <dc:date>2020-04-30T18:19:55Z</dc:date>
    </item>
    <item>
      <title>Re: Copy and paste SAS Studio code to Word Document</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Copy-and-paste-SAS-Studio-code-to-Word-Document/m-p/644440#M192480</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/41748"&gt;@alexal&lt;/a&gt;&amp;nbsp;Do you have any say on SAS Studio features to support or add?&lt;/P&gt;</description>
      <pubDate>Fri, 01 May 2020 02:38:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Copy-and-paste-SAS-Studio-code-to-Word-Document/m-p/644440#M192480</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2020-05-01T02:38:59Z</dc:date>
    </item>
    <item>
      <title>Re: Copy and paste SAS Studio code to Word Document</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Copy-and-paste-SAS-Studio-code-to-Word-Document/m-p/644469#M192495</link>
      <description>&lt;P&gt;I played around a little. This is an issue in the SAS Studio applet running in the context of the browser, as it does not send the coloring of the code to the clipboard. Other colored text (e.g. the log) is sent &lt;EM&gt;with&lt;/EM&gt; the coloring when doing Copy from the same browser (in my case Safari on a Mac). Only the text in the code tab is copied black-and-white.&lt;/P&gt;</description>
      <pubDate>Fri, 01 May 2020 08:21:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Copy-and-paste-SAS-Studio-code-to-Word-Document/m-p/644469#M192495</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-05-01T08:21:23Z</dc:date>
    </item>
    <item>
      <title>Re: Copy and paste SAS Studio code to Word Document</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Copy-and-paste-SAS-Studio-code-to-Word-Document/m-p/644502#M192507</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/16961"&gt;@ChrisNZ&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;I've never tried to copy anything from the SAS Studio to Word. I've tried to copy SAS code from SAS Studio running on 9.4 M6 and SAS Viya 3.5, both of them didn't keep text style. Also, I've tried to copy the code from EG 7 and 8 and they do keep text style.&lt;/P&gt;</description>
      <pubDate>Fri, 01 May 2020 12:04:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Copy-and-paste-SAS-Studio-code-to-Word-Document/m-p/644502#M192507</guid>
      <dc:creator>alexal</dc:creator>
      <dc:date>2020-05-01T12:04:12Z</dc:date>
    </item>
    <item>
      <title>Re: Copy and paste SAS Studio code to Word Document</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Copy-and-paste-SAS-Studio-code-to-Word-Document/m-p/644636#M192577</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/41748"&gt;@alexal&lt;/a&gt;&amp;nbsp;I meant: Do you have a way for this shortcoming to appear on the developers' radar?&lt;/P&gt;</description>
      <pubDate>Fri, 01 May 2020 23:52:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Copy-and-paste-SAS-Studio-code-to-Word-Document/m-p/644636#M192577</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2020-05-01T23:52:06Z</dc:date>
    </item>
    <item>
      <title>Re: Copy and paste SAS Studio code to Word Document</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Copy-and-paste-SAS-Studio-code-to-Word-Document/m-p/644645#M192579</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/16961"&gt;@ChrisNZ&lt;/a&gt;&amp;nbsp;I added it to the list here:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SASware-Ballot-Ideas/Enhance-copy-and-paste-options-from-SAS-Studio/idi-p/644644" target="_blank"&gt;https://communities.sas.com/t5/SASware-Ballot-Ideas/Enhance-copy-and-paste-options-from-SAS-Studio/idi-p/644644&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Not as good as the developers already working on it but a start at least.&lt;/P&gt;</description>
      <pubDate>Sat, 02 May 2020 01:36:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Copy-and-paste-SAS-Studio-code-to-Word-Document/m-p/644645#M192579</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-05-02T01:36:27Z</dc:date>
    </item>
    <item>
      <title>Re: Copy and paste SAS Studio code to Word Document</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Copy-and-paste-SAS-Studio-code-to-Word-Document/m-p/644646#M192580</link>
      <description>Yes. A clearly marked tombstone in a graveyard allows to at least not forget all these wonderful ideas. ;)Maybe that's a bit harsh.&lt;BR /&gt;</description>
      <pubDate>Sat, 02 May 2020 01:50:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Copy-and-paste-SAS-Studio-code-to-Word-Document/m-p/644646#M192580</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2020-05-02T01:50:39Z</dc:date>
    </item>
    <item>
      <title>Re: Copy and paste SAS Studio code to Word Document</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Copy-and-paste-SAS-Studio-code-to-Word-Document/m-p/644649#M192582</link>
      <description>&lt;P&gt;I'd say it's harsh since that hasn't been the pattern in the past few years. The recent ones are more monitored and they are marking them as planned or not considered and updating when they implement it.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I do think they should blow away anything older than a few years though, otherwise it does become a graveyard for sure.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 02 May 2020 02:13:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Copy-and-paste-SAS-Studio-code-to-Word-Document/m-p/644649#M192582</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-05-02T02:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: Copy and paste SAS Studio code to Word Document</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Copy-and-paste-SAS-Studio-code-to-Word-Document/m-p/644653#M192584</link>
      <description>Newer does not mean better.  Like #219458 .Maybe look at the top rated ones first instead? I am sure there are nuggets in that 1100-odd list.Had a look at the 78 implemented and it's almost all VA. The EG ones were mostly "already there" rather than "added". I made dozens of suggestions there and I am not optimistic as you can see.&lt;BR /&gt;</description>
      <pubDate>Sat, 02 May 2020 03:29:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Copy-and-paste-SAS-Studio-code-to-Word-Document/m-p/644653#M192584</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2020-05-02T03:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: Copy and paste SAS code to Word Document</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Copy-and-paste-SAS-Studio-code-to-Word-Document/m-p/644657#M192587</link>
      <description>&lt;P&gt;You can do a two-stage copy/paste as mentioned elsewhere - copy from sas/studio to SAS Universal Viewer (&lt;A href="https://support.sas.com/downloads/package.htm?pid=667" target="_self"&gt;download from here&lt;/A&gt;) and from the viewer to word.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The viewer will re-institute the formatting (looks the same as pc-sas program formatting), and the subsequent paste to word will preserve colors.&lt;/P&gt;</description>
      <pubDate>Sat, 02 May 2020 04:46:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Copy-and-paste-SAS-Studio-code-to-Word-Document/m-p/644657#M192587</guid>
      <dc:creator>mkeintz</dc:creator>
      <dc:date>2020-05-02T04:46:58Z</dc:date>
    </item>
    <item>
      <title>Re: Copy and paste SAS code to Word Document</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Copy-and-paste-SAS-Studio-code-to-Word-Document/m-p/644681#M192603</link>
      <description>&lt;P&gt;Will do that!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks to all for your help!&lt;/P&gt;</description>
      <pubDate>Sat, 02 May 2020 10:25:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Copy-and-paste-SAS-Studio-code-to-Word-Document/m-p/644681#M192603</guid>
      <dc:creator>Sou1</dc:creator>
      <dc:date>2020-05-02T10:25:41Z</dc:date>
    </item>
    <item>
      <title>Re: Copy and paste SAS Studio code to Word Document</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Copy-and-paste-SAS-Studio-code-to-Word-Document/m-p/644896#M192714</link>
      <description>&lt;P&gt;I want to believe I contributed to some of the VA additions&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Visual-Analytics/Large-list-of-suggested-improvements-for-VA-7-2/m-p/268184" target="_blank"&gt;https://communities.sas.com/t5/SAS-Visual-Analytics/Large-list-of-suggested-improvements-for-VA-7-2/m-p/268184&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;even though the evidence points to the simplest and most useful improvements&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SASware-Ballot-Ideas/Add-a-label-field-in-SAS-VA/idi-p/264042" target="_blank"&gt;https://communities.sas.com/t5/SASware-Ballot-Ideas/Add-a-label-field-in-SAS-VA/idi-p/264042&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;being rejected.&lt;/P&gt;</description>
      <pubDate>Mon, 04 May 2020 00:16:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Copy-and-paste-SAS-Studio-code-to-Word-Document/m-p/644896#M192714</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2020-05-04T00:16:48Z</dc:date>
    </item>
    <item>
      <title>Re: Copy and paste SAS Studio code to Word Document</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Copy-and-paste-SAS-Studio-code-to-Word-Document/m-p/663619#M198137</link>
      <description>&lt;P&gt;Hi &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/325234"&gt;@Sou1&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Which version of SAS Studio and which browser are you using?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am able to copy code from SAS Studio and paste it in Word with the syntax highlighting intact, but only if I use Chrome and only if I copy the code using the "Copy code" icon on the editor's toolbar, which is highlighted in this screenshot:&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="copyToolbar.png" style="width: 766px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/46393i278A32A1AE5F4EDF/image-size/large?v=v2&amp;amp;px=999" role="button" title="copyToolbar.png" alt="copyToolbar.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Here is how it displays after I paste it in Word:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="copyWord.png" style="width: 551px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/46394i6DF0D477C01F23A0/image-size/large?v=v2&amp;amp;px=999" role="button" title="copyWord.png" alt="copyWord.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This works for me in both SAS Studio 3.6 and SAS Studio 3.8.&amp;nbsp; It does not work for me if I use the CTRL+C shortcut or if I right click --&amp;gt; Copy.&amp;nbsp; It also does not work for me if I use Firefox instead of Chrome.&amp;nbsp; So the workaround is a little specific, but it at least avoids the need to have an intermediate copy/paste step.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does this work for you?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-Brian&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jun 2020 21:17:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Copy-and-paste-SAS-Studio-code-to-Word-Document/m-p/663619#M198137</guid>
      <dc:creator>BrianGaines</dc:creator>
      <dc:date>2020-06-19T21:17:25Z</dc:date>
    </item>
    <item>
      <title>Re: Copy and paste SAS Studio code to Word Document</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Copy-and-paste-SAS-Studio-code-to-Word-Document/m-p/753489#M237494</link>
      <description>&lt;P&gt;I am teaching a SAS course and have had a problem with colors being converted to black in powerpoint when I copy code.&amp;nbsp; &amp;nbsp;I am using FIREFOX for SAS Studio.&amp;nbsp; I also have PC SAS 9.4 so copy the code from Studio, paste it into PC SAS then into powerpoint.&amp;nbsp; Seems to work (I suppose it is similar to using universal viewer or some other program).&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jul 2021 12:44:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Copy-and-paste-SAS-Studio-code-to-Word-Document/m-p/753489#M237494</guid>
      <dc:creator>VTcmda</dc:creator>
      <dc:date>2021-07-12T12:44:07Z</dc:date>
    </item>
    <item>
      <title>Re: Copy and paste SAS Studio code to Word Document</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Copy-and-paste-SAS-Studio-code-to-Word-Document/m-p/753985#M237696</link>
      <description>&lt;P&gt;Thanks Brian, that is a good workaround to know.&lt;/P&gt;
&lt;P&gt;I wonder why so many restrictions though; Is SAS's AXML somewhat malformed?&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jul 2021 01:43:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Copy-and-paste-SAS-Studio-code-to-Word-Document/m-p/753985#M237696</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2021-07-14T01:43:50Z</dc:date>
    </item>
    <item>
      <title>Re: Copy and paste SAS Studio code to Word Document</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Copy-and-paste-SAS-Studio-code-to-Word-Document/m-p/914390#M360311</link>
      <description>&lt;P&gt;Brian, I don't see the "Copy code" icon as in the picture. Thanks.&lt;/P&gt;</description>
      <pubDate>Sat, 03 Feb 2024 19:46:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Copy-and-paste-SAS-Studio-code-to-Word-Document/m-p/914390#M360311</guid>
      <dc:creator>Thanh2024</dc:creator>
      <dc:date>2024-02-03T19:46:23Z</dc:date>
    </item>
  </channel>
</rss>

