<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.oehive.org" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>The OpenEdge Hive - Read Only</title>
 <link>http://www.oehive.org/taxonomy/term/527/0</link>
 <description></description>
 <language>oehive</language>
<item>
 <title>VBA for Excel and COM-handles</title>
 <link>http://www.oehive.org/node/1253</link>
 <description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I’m trying to launch a VBA for Excel from our Progress application, and I’m encountering a problem when I’m testing for access privileges. Essentially, I’m checking the read-only property for the workbook and alert the user if it’s true. Here’s a portion of the code:&lt;/p&gt;
&lt;p&gt;DEF VAR chFileName AS CHAR INIT &quot;N:\TestRegion2\testvba.xls&quot; NO-UNDO.&lt;/p&gt;
&lt;p&gt;DEF VAR chExcel            AS com-handle no-undo.&lt;br /&gt;
DEF VAR chWorkbook         AS com-handle no-undo.&lt;br /&gt;
DEF VAR chExcelApplication AS com-handle no-undo.&lt;br /&gt;
DEF VAR chWorksheet        AS com-handle no-undo.&lt;/p&gt;
&lt;br class=&quot;clear&quot; /&gt;&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li  class=&quot;first last og_links&quot;&gt;&lt;a href=&quot;/node/213&quot; class=&quot;og_links&quot;&gt;Miscellaneous Group&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;&lt;p&gt;&lt;a href=&quot;http://www.oehive.org/node/1253&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.oehive.org/node/1253#comments</comments>
 <category domain="http://www.oehive.org/taxonomy/term/368">com</category>
 <category domain="http://www.oehive.org/taxonomy/term/186">excel</category>
 <category domain="http://www.oehive.org/taxonomy/term/526">handles</category>
 <category domain="http://www.oehive.org/taxonomy/term/527">Read Only</category>
 <category domain="http://www.oehive.org/taxonomy/term/525">VBA</category>
 <group domain="http://www.oehive.org/node/213">Miscellaneous Group</group>
 <pubDate>Wed, 06 Aug 2008 14:23:16 +0000</pubDate>
 <dc:creator>kwong</dc:creator>
 <guid isPermaLink="false">1253 at http://www.oehive.org</guid>
</item>
</channel>
</rss>
