<?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 global variables in VBA Forum</title>
    <link>https://forums.autodesk.com/t5/vba-forum/setting-global-variables/m-p/339700#M98301</link>
    <description>If you declared the variable as Public, it shouldn't be a problem.&lt;BR /&gt;
&lt;BR /&gt;
Regards&lt;BR /&gt;
&lt;BR /&gt;
--&lt;BR /&gt;
Guy Bursell&lt;BR /&gt;
CAD Development Engineer&lt;BR /&gt;
Mabey &amp;amp; Johnson Ltd.&lt;BR /&gt;
&lt;BR /&gt;
Bill Major &lt;RMAJOR&gt; wrote in message&lt;BR /&gt;
news:81gqo3$8s64@adesknews2.autodesk.com...&lt;BR /&gt;
&amp;gt; I have a bunch of subroutines in a AutoCad ThisDrawing object.  I also&lt;BR /&gt;
have&lt;BR /&gt;
&amp;gt; a Form and a bunch of subroutines to handle clicks on command buttons,&lt;BR /&gt;
etc.&lt;BR /&gt;
&amp;gt; The problem I am having is that when a user clicks a button in the Form, I&lt;BR /&gt;
&amp;gt; want it to set a variable in the General declarations of the ThisDrawing&lt;BR /&gt;
&amp;gt; object.  However, it's not doing it.  Any suggestions??&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;/RMAJOR&gt;</description>
    <pubDate>Wed, 24 Nov 1999 13:59:53 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>1999-11-24T13:59:53Z</dc:date>
    <item>
      <title>Setting global variables</title>
      <link>https://forums.autodesk.com/t5/vba-forum/setting-global-variables/m-p/339699#M98300</link>
      <description>I have a bunch of subroutines in a AutoCad ThisDrawing object.  I also have&lt;BR /&gt;
a Form and a bunch of subroutines to handle clicks on command buttons, etc.&lt;BR /&gt;
The problem I am having is that when a user clicks a button in the Form, I&lt;BR /&gt;
want it to set a variable in the General declarations of the ThisDrawing&lt;BR /&gt;
object.  However, it's not doing it.  Any suggestions??</description>
      <pubDate>Wed, 24 Nov 1999 13:55:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/setting-global-variables/m-p/339699#M98300</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>1999-11-24T13:55:44Z</dc:date>
    </item>
    <item>
      <title>Re: Setting global variables</title>
      <link>https://forums.autodesk.com/t5/vba-forum/setting-global-variables/m-p/339700#M98301</link>
      <description>If you declared the variable as Public, it shouldn't be a problem.&lt;BR /&gt;
&lt;BR /&gt;
Regards&lt;BR /&gt;
&lt;BR /&gt;
--&lt;BR /&gt;
Guy Bursell&lt;BR /&gt;
CAD Development Engineer&lt;BR /&gt;
Mabey &amp;amp; Johnson Ltd.&lt;BR /&gt;
&lt;BR /&gt;
Bill Major &lt;RMAJOR&gt; wrote in message&lt;BR /&gt;
news:81gqo3$8s64@adesknews2.autodesk.com...&lt;BR /&gt;
&amp;gt; I have a bunch of subroutines in a AutoCad ThisDrawing object.  I also&lt;BR /&gt;
have&lt;BR /&gt;
&amp;gt; a Form and a bunch of subroutines to handle clicks on command buttons,&lt;BR /&gt;
etc.&lt;BR /&gt;
&amp;gt; The problem I am having is that when a user clicks a button in the Form, I&lt;BR /&gt;
&amp;gt; want it to set a variable in the General declarations of the ThisDrawing&lt;BR /&gt;
&amp;gt; object.  However, it's not doing it.  Any suggestions??&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;/RMAJOR&gt;</description>
      <pubDate>Wed, 24 Nov 1999 13:59:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/setting-global-variables/m-p/339700#M98301</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>1999-11-24T13:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: Setting global variables</title>
      <link>https://forums.autodesk.com/t5/vba-forum/setting-global-variables/m-p/339701#M98302</link>
      <description>Try the operation with the IDE window closed.  I have seen that make a&lt;BR /&gt;
difference.&lt;BR /&gt;
Search the newsgroup for the thread "Global Variables?" (9/8/99) for more&lt;BR /&gt;
information.&lt;BR /&gt;
&lt;BR /&gt;
Hope this helps,    &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
&lt;BR /&gt;
- Adam&lt;BR /&gt;
&lt;BR /&gt;
Bill Major &lt;RMAJOR&gt; wrote in message&lt;BR /&gt;
news:81gqo3$8s64@adesknews2.autodesk.com...&lt;BR /&gt;
&amp;gt; I have a bunch of subroutines in a AutoCad ThisDrawing object.  I also&lt;BR /&gt;
have&lt;BR /&gt;
&amp;gt; a Form and a bunch of subroutines to handle clicks on command buttons,&lt;BR /&gt;
etc.&lt;BR /&gt;
&amp;gt; The problem I am having is that when a user clicks a button in the Form, I&lt;BR /&gt;
&amp;gt; want it to set a variable in the General declarations of the ThisDrawing&lt;BR /&gt;
&amp;gt; object.  However, it's not doing it.  Any suggestions??&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;/RMAJOR&gt;</description>
      <pubDate>Wed, 24 Nov 1999 16:05:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/setting-global-variables/m-p/339701#M98302</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>1999-11-24T16:05:56Z</dc:date>
    </item>
    <item>
      <title>Re: Setting global variables</title>
      <link>https://forums.autodesk.com/t5/vba-forum/setting-global-variables/m-p/339702#M98303</link>
      <description>I refer you to http://afralisp.hypermart.net/rr/anov2.htm&lt;BR /&gt;
&lt;BR /&gt;
This is the November 2/99 edition of the A Code A Day newsletter,&lt;BR /&gt;
talking about variable scope.&lt;BR /&gt;
&lt;BR /&gt;
Bill Major wrote:&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; I have a bunch of subroutines in a AutoCad ThisDrawing object.  I also have&lt;BR /&gt;
&amp;gt; a Form and a bunch of subroutines to handle clicks on command buttons, etc.&lt;BR /&gt;
&amp;gt; The problem I am having is that when a user clicks a button in the Form, I&lt;BR /&gt;
&amp;gt; want it to set a variable in the General declarations of the ThisDrawing&lt;BR /&gt;
&amp;gt; object.  However, it's not doing it.  Any suggestions??</description>
      <pubDate>Fri, 26 Nov 1999 17:56:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/setting-global-variables/m-p/339702#M98303</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>1999-11-26T17:56:24Z</dc:date>
    </item>
  </channel>
</rss>

