<?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: setting security  information classification of microsoft office files in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/setting-security-information-classification-of-microsoft-office/m-p/503573#M134590</link>
    <description>&lt;P&gt;Hi &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/75767"&gt;@Manny3&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How would you set that classification without SAS? I'm not sure, is this&amp;nbsp;one of the document properties (like title, author, subject, etc.)? If so (and possibly even if not), this information can be modified using VBA. Of course, SAS can generate VBA code dynamically (i.e. a text file with .bas extension). And there are ways to execute this VBA code as well: A couple of years ago, I used techniques similar to those described in &lt;A href="http://www2.sas.com/proceedings/sugi25/25/ad/25p021.pdf" target="_blank"&gt;this SUGI paper&lt;/A&gt;&amp;nbsp;(macro run_vba.sas etc.) to let SAS handle Word documents. A quick internet search ("Visual Basic" "Excel" "SAS") suggests that other people have done similar things with Excel.&lt;/P&gt;</description>
    <pubDate>Thu, 11 Oct 2018 21:20:55 GMT</pubDate>
    <dc:creator>FreelanceReinh</dc:creator>
    <dc:date>2018-10-11T21:20:55Z</dc:date>
    <item>
      <title>setting security  information classification of microsoft office files</title>
      <link>https://communities.sas.com/t5/SAS-Programming/setting-security-information-classification-of-microsoft-office/m-p/503394#M134504</link>
      <description>&lt;P&gt;Hi All,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;we are working on a requirement to generate an excel file in batch mode&amp;nbsp; and then set the security information classification for that excel file .&lt;BR /&gt;&lt;BR /&gt;Although first part is quite an easy task but I am not getting any way out to handle the second stuff i.e. to set the security of information classification via SAS code . WIth classification I mean the internal classification available in Microsoft office , like confidential, internal etc.&lt;BR /&gt;&lt;BR /&gt;If any one have an idea about it please share. it will be a great help.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Manny&lt;/P&gt;</description>
      <pubDate>Thu, 11 Oct 2018 13:05:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/setting-security-information-classification-of-microsoft-office/m-p/503394#M134504</guid>
      <dc:creator>Manny3</dc:creator>
      <dc:date>2018-10-11T13:05:15Z</dc:date>
    </item>
    <item>
      <title>Re: setting security  information classification of microsoft office files</title>
      <link>https://communities.sas.com/t5/SAS-Programming/setting-security-information-classification-of-microsoft-office/m-p/503573#M134590</link>
      <description>&lt;P&gt;Hi &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/75767"&gt;@Manny3&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How would you set that classification without SAS? I'm not sure, is this&amp;nbsp;one of the document properties (like title, author, subject, etc.)? If so (and possibly even if not), this information can be modified using VBA. Of course, SAS can generate VBA code dynamically (i.e. a text file with .bas extension). And there are ways to execute this VBA code as well: A couple of years ago, I used techniques similar to those described in &lt;A href="http://www2.sas.com/proceedings/sugi25/25/ad/25p021.pdf" target="_blank"&gt;this SUGI paper&lt;/A&gt;&amp;nbsp;(macro run_vba.sas etc.) to let SAS handle Word documents. A quick internet search ("Visual Basic" "Excel" "SAS") suggests that other people have done similar things with Excel.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Oct 2018 21:20:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/setting-security-information-classification-of-microsoft-office/m-p/503573#M134590</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2018-10-11T21:20:55Z</dc:date>
    </item>
    <item>
      <title>Re: setting security  information classification of microsoft office files</title>
      <link>https://communities.sas.com/t5/SAS-Programming/setting-security-information-classification-of-microsoft-office/m-p/503739#M134658</link>
      <description>&lt;P&gt;Hi &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/32733"&gt;@FreelanceReinh&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks for the revert and sorry for that typo error.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I tried few things as suggested, but I feel Microsoft don't allow to modify the information security classification via Macros.&lt;BR /&gt;Even I tried to cross check it by recording a macro in excel and updating the security classification, but didn't got anything in macro body .&lt;BR /&gt;&lt;BR /&gt;Please share some ideas on this , if you have done something like this in past.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Manny&lt;/P&gt;</description>
      <pubDate>Fri, 12 Oct 2018 14:18:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/setting-security-information-classification-of-microsoft-office/m-p/503739#M134658</guid>
      <dc:creator>Manny3</dc:creator>
      <dc:date>2018-10-12T14:18:35Z</dc:date>
    </item>
    <item>
      <title>Re: setting security  information classification of microsoft office files</title>
      <link>https://communities.sas.com/t5/SAS-Programming/setting-security-information-classification-of-microsoft-office/m-p/503765#M134668</link>
      <description>&lt;P&gt;I see. So, it seems to be&amp;nbsp;even more difficult than I had imagined.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What I did in that project back then had nothing to do with security information classification. It was more like page formatting etc.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Maybe you can get some information from an Excel forum and then come back for the SAS specific part. I'm sorry I cannot be more helpful.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Good luck!&lt;/P&gt;</description>
      <pubDate>Fri, 12 Oct 2018 15:50:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/setting-security-information-classification-of-microsoft-office/m-p/503765#M134668</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2018-10-12T15:50:20Z</dc:date>
    </item>
    <item>
      <title>Re: setting security  information classification of microsoft office files</title>
      <link>https://communities.sas.com/t5/SAS-Programming/setting-security-information-classification-of-microsoft-office/m-p/503770#M134671</link>
      <description>&lt;P&gt;I've just remembered a presentation (on a SAS conference) where someone reported about automating processes involving PowerPoint. They used AutoIt and (I think) managed to operate PowerPoint from SAS via AutoIt.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Obviously, whatever can be done using keyboard and mouse can (in principle) be automated with such tools. So, this might be a last resort if everything else fails.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Oct 2018 16:02:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/setting-security-information-classification-of-microsoft-office/m-p/503770#M134671</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2018-10-12T16:02:57Z</dc:date>
    </item>
    <item>
      <title>Re: setting security  information classification of microsoft office files</title>
      <link>https://communities.sas.com/t5/SAS-Programming/setting-security-information-classification-of-microsoft-office/m-p/504239#M134915</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/32733"&gt;@FreelanceReinh&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have not used Autoit&amp;nbsp; yet, so it will take me some time to dig it .. but have something to&amp;nbsp; check for.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks a lot . &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Oct 2018 09:42:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/setting-security-information-classification-of-microsoft-office/m-p/504239#M134915</guid>
      <dc:creator>Manny3</dc:creator>
      <dc:date>2018-10-15T09:42:44Z</dc:date>
    </item>
  </channel>
</rss>

