<?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: Form controls loose focus - UnModal Forms in VBA Forum</title>
    <link>https://forums.autodesk.com/t5/vba-forum/form-controls-loose-focus-unmodal-forms/m-p/14255959#M99826</link>
    <description>&lt;P&gt;Ran into the same issue and figured it out after a lot of debugging and comparing.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;The cause appears to be a bad&lt;A href="https://techcommunity.microsoft.com/blog/microsoft365insiderblog/activex-disabled-by-default-in-microsoft-365/4403157" target="_blank" rel="noopener"&gt; Microsoft policy introduced a little over a year ago&lt;/A&gt; that disables all ActiveX controls by default. The policy is being applied inconsistently, and Autodesk's focus control appears to rely on ActiveX functionality.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The relevant registry setting is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\Common\Security&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;with the value name:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DisableAllActiveX&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When DisableAllActiveX is set to 1, the modeless user form fails to function correctly. When it is set to 0 (or the value is not present), the modeless user form works as expected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Users can also modify this setting through Office applications by navigating to:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;File &amp;gt; Options &amp;gt; Trust Center &amp;gt; Trust Center Settings &amp;gt; ActiveX Settings&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and changing "Disable all controls without notification" to any other option. The state of the Safe Mode checkbox does not appear to affect the AutoCAD VBA user form.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What makes this issue particularly confusing is that "Disable all controls without notification" can appear selected on both working and non-working computers. On the working systems, however, the corresponding registry value had never actually been created, allowing ActiveX controls to continue functioning despite the displayed setting. If a user changes the setting and then changes it back, Office creates the DisableAllActiveX registry value, which then causes the user form to stop working.&lt;BR /&gt;&lt;BR /&gt;For similar issues before this change it likely meant that ActiveX was failing without notice even though it wasn't blocked by policy.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 08 Sep 2026 16:54:15 GMT</pubDate>
    <dc:creator>13lacIe</dc:creator>
    <dc:date>2026-09-08T16:54:15Z</dc:date>
    <item>
      <title>Form controls loose focus - UnModal Forms</title>
      <link>https://forums.autodesk.com/t5/vba-forum/form-controls-loose-focus-unmodal-forms/m-p/13939331#M99679</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;AutoCAD 2026.Latest&lt;/P&gt;&lt;P&gt;I use several userforms for many years.&lt;/P&gt;&lt;P&gt;Today I realize that a userform controls; userform's &lt;STRONG&gt;ShowModal property id False&lt;/STRONG&gt;; loose focus, AutoCAD UI automatically gets focus.&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I try to write a text to textbox or editable dropdown combobox;&lt;/P&gt;&lt;P&gt;with mouse arrow I select the edit area on userform and mouse cursor automatically switches to AutoCAD UI Command line.&lt;/P&gt;&lt;P&gt;The running userform itself looses focus when any click on it with undesired way / should not to do so..&amp;nbsp;&lt;/P&gt;&lt;P&gt;Caption of the form becomes dark black when I click on it and immediatelly turns to light gray color..&lt;/P&gt;&lt;P&gt;When ShowModel property of userform is True it works as desired.&amp;nbsp;&lt;/P&gt;&lt;P&gt;It wasn't like this more than 10 years. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;(Today Windows got an latest update, would this cause this behaviour?)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I urgenty need my userform.. with old behavious.&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="hkilic896XF_0-1765356226654.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1603723iCDF76EC0A152ADF6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hkilic896XF_0-1765356226654.png" alt="hkilic896XF_0-1765356226654.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Dec 2025 08:58:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/form-controls-loose-focus-unmodal-forms/m-p/13939331#M99679</guid>
      <dc:creator>hkilic896XF</dc:creator>
      <dc:date>2025-12-10T08:58:31Z</dc:date>
    </item>
    <item>
      <title>Re: Form controls loose focus - UnModal Forms</title>
      <link>https://forums.autodesk.com/t5/vba-forum/form-controls-loose-focus-unmodal-forms/m-p/13939563#M99684</link>
      <description>&lt;P&gt;AcFocusCtrl.dll is no more exists in its folder. of Program Files\Common Files\Autodesk&lt;/P&gt;&lt;P&gt;and additional toolbox controls focuses(!) to that dll.&lt;/P&gt;&lt;P&gt;In References type library "AutoCAD Focus Control for VBA Type Library" reference is referencing Program Files\Common Files\Autodesk Shared\AcFocusCtrl16.dll file&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Absent AcFocusCtrl.dll, new file AcFocusCtrl16.dll but toolbar controls still trying to place an absent control. So ShowModal = False user forms do not work anymore.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Removing existing &amp;amp; missing reference to AcFocusCtrl.dll and adding new AcFocusCtrl16.dll as new reference.. not working.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hkilic896XF_0-1765370163429.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1603778i06760E41BDC487B9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hkilic896XF_0-1765370163429.png" alt="hkilic896XF_0-1765370163429.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Additional controls still references old file..&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hkilic896XF_1-1765370217387.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1603779iA9759BC4863DE5BB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hkilic896XF_1-1765370217387.png" alt="hkilic896XF_1-1765370217387.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And in toolbar it is defined as "Unknown"&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hkilic896XF_3-1765370466374.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1603782i936AA75F9C756AF4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hkilic896XF_3-1765370466374.png" alt="hkilic896XF_3-1765370466374.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And can not be used..&amp;nbsp;&lt;/P&gt;&lt;P&gt;Windows says it is not trusted..&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hkilic896XF_2-1765370394400.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1603781iF2B7F0CBB0F9E3A9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hkilic896XF_2-1765370394400.png" alt="hkilic896XF_2-1765370394400.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think old reference must be removed from registry first, and then may be new ...16.dll file must be registered some how..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We need an urgent solution. !!&lt;/P&gt;</description>
      <pubDate>Wed, 10 Dec 2025 12:41:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/form-controls-loose-focus-unmodal-forms/m-p/13939563#M99684</guid>
      <dc:creator>hkilic896XF</dc:creator>
      <dc:date>2025-12-10T12:41:25Z</dc:date>
    </item>
    <item>
      <title>Re: Form controls loose focus - UnModal Forms</title>
      <link>https://forums.autodesk.com/t5/vba-forum/form-controls-loose-focus-unmodal-forms/m-p/13939628#M99685</link>
      <description>&lt;P&gt;How can it be.. really very annoying&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="hkilic896XF_0-1765373308009.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1603792iB5E27E3651A04DEE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hkilic896XF_0-1765373308009.png" alt="hkilic896XF_0-1765373308009.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Dec 2025 13:29:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/form-controls-loose-focus-unmodal-forms/m-p/13939628#M99685</guid>
      <dc:creator>hkilic896XF</dc:creator>
      <dc:date>2025-12-10T13:29:19Z</dc:date>
    </item>
    <item>
      <title>Re: Form controls loose focus - UnModal Forms</title>
      <link>https://forums.autodesk.com/t5/vba-forum/form-controls-loose-focus-unmodal-forms/m-p/13939681#M99686</link>
      <description>&lt;LI-CODE lang="visual-basic"&gt;Private Sub CommandButtonModal_Click()
    Me.Hide
    Me.show 1
End Sub

Private Sub CommandButtonModeless_Click()
    Me.Hide
    Me.show 0
End Sub&lt;/LI-CODE&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="hkilic896XF_0-1765374861856.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1603795i0A083D24E1B0D5BF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hkilic896XF_0-1765374861856.png" alt="hkilic896XF_0-1765374861856.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I add two buttons..&lt;/P&gt;&lt;P&gt;when I need Modeless I click to 0&lt;/P&gt;&lt;P&gt;when I need to write inside text boxes, etc. I click to 1 and switch to Modal&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":face_with_tears_of_joy:"&gt;😂&lt;/span&gt;This is the way..&lt;/P&gt;&lt;P&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;If there is a god or any kind of justice under the sky, we'll never keep on trying, till the end of time.. (&lt;A title="Queen" href="https://youtu.be/g2N0TkfrQhY?si=lFOJ67PyR3Fw9xPT" target="_blank" rel="noopener"&gt;flamenco enters..&lt;/A&gt;)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Dec 2025 14:01:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/form-controls-loose-focus-unmodal-forms/m-p/13939681#M99686</guid>
      <dc:creator>hkilic896XF</dc:creator>
      <dc:date>2025-12-10T14:01:14Z</dc:date>
    </item>
    <item>
      <title>Re: Form controls loose focus - UnModal Forms</title>
      <link>https://forums.autodesk.com/t5/vba-forum/form-controls-loose-focus-unmodal-forms/m-p/14250825#M99824</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hkilic896XF_0-1788216267049.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1659064i3F23F16AC86622FA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hkilic896XF_0-1788216267049.png" alt="hkilic896XF_0-1788216267049.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Aug 2026 22:44:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/form-controls-loose-focus-unmodal-forms/m-p/14250825#M99824</guid>
      <dc:creator>hkilic896XF</dc:creator>
      <dc:date>2026-08-31T22:44:54Z</dc:date>
    </item>
    <item>
      <title>Re: Form controls loose focus - UnModal Forms</title>
      <link>https://forums.autodesk.com/t5/vba-forum/form-controls-loose-focus-unmodal-forms/m-p/14251842#M99825</link>
      <description>&lt;P&gt;Well, not sure where is the source of the info you showed here, AI (the like of ChatGPT,...)? It was definitely not all correct. AcFocusCtrl16.dll, which comes with recent versions of AutoCAD (since Autodesk ditched the 32bit version and also adopted 64 bit VBA, is 64 bit component and I have no problem use it with Acad's VBA UserForm when showing as modeless (although only for test purpose, not in real production development, because I had stopped developing VBA code in AutoCAD for many years for good). I tested this (VBA modeless UserForm + AcFocusCtrl16.dll) with each version since at least Acad2019 and all the way to latest Acad2017. They work as expected (again, I never need to use them in real development project).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, I'd say, using VBA UserForm as modeless UI that needs AcFocusCtrl does work, but VBA development is basically not worth the effort/investment in most, if not all, cases.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Sep 2026 16:47:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/form-controls-loose-focus-unmodal-forms/m-p/14251842#M99825</guid>
      <dc:creator>Norman_Yuan</dc:creator>
      <dc:date>2026-09-01T16:47:03Z</dc:date>
    </item>
    <item>
      <title>Re: Form controls loose focus - UnModal Forms</title>
      <link>https://forums.autodesk.com/t5/vba-forum/form-controls-loose-focus-unmodal-forms/m-p/14255959#M99826</link>
      <description>&lt;P&gt;Ran into the same issue and figured it out after a lot of debugging and comparing.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;The cause appears to be a bad&lt;A href="https://techcommunity.microsoft.com/blog/microsoft365insiderblog/activex-disabled-by-default-in-microsoft-365/4403157" target="_blank" rel="noopener"&gt; Microsoft policy introduced a little over a year ago&lt;/A&gt; that disables all ActiveX controls by default. The policy is being applied inconsistently, and Autodesk's focus control appears to rely on ActiveX functionality.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The relevant registry setting is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\Common\Security&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;with the value name:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DisableAllActiveX&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When DisableAllActiveX is set to 1, the modeless user form fails to function correctly. When it is set to 0 (or the value is not present), the modeless user form works as expected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Users can also modify this setting through Office applications by navigating to:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;File &amp;gt; Options &amp;gt; Trust Center &amp;gt; Trust Center Settings &amp;gt; ActiveX Settings&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and changing "Disable all controls without notification" to any other option. The state of the Safe Mode checkbox does not appear to affect the AutoCAD VBA user form.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What makes this issue particularly confusing is that "Disable all controls without notification" can appear selected on both working and non-working computers. On the working systems, however, the corresponding registry value had never actually been created, allowing ActiveX controls to continue functioning despite the displayed setting. If a user changes the setting and then changes it back, Office creates the DisableAllActiveX registry value, which then causes the user form to stop working.&lt;BR /&gt;&lt;BR /&gt;For similar issues before this change it likely meant that ActiveX was failing without notice even though it wasn't blocked by policy.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Sep 2026 16:54:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/form-controls-loose-focus-unmodal-forms/m-p/14255959#M99826</guid>
      <dc:creator>13lacIe</dc:creator>
      <dc:date>2026-09-08T16:54:15Z</dc:date>
    </item>
    <item>
      <title>Re: Form controls loose focus - UnModal Forms</title>
      <link>https://forums.autodesk.com/t5/vba-forum/form-controls-loose-focus-unmodal-forms/m-p/14256132#M99827</link>
      <description>&lt;P&gt;The focus issue with unmodal forms sounds like it could be related to how focus is being managed when the form loses and regains activation. A small VBA example showing the form setup and the controls involved would make it easier to determine whether the behavior comes from the form properties, event handling, or Windows focus behavior.&lt;/P&gt;</description>
      <pubDate>Sat, 05 Sep 2026 02:31:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/form-controls-loose-focus-unmodal-forms/m-p/14256132#M99827</guid>
      <dc:creator>robthenry0</dc:creator>
      <dc:date>2026-09-05T02:31:01Z</dc:date>
    </item>
    <item>
      <title>Re: Form controls loose focus - UnModal Forms</title>
      <link>https://forums.autodesk.com/t5/vba-forum/form-controls-loose-focus-unmodal-forms/m-p/14257753#M99831</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5659450"&gt;@13lacIe&lt;/a&gt;&amp;nbsp;, Thank you for pointed out the real reason that the AcFocus control stops working or does not work. Yes it is cause the by MS office's security setting that disable Activex Control, which is a MS Office feature existing long ago before MS Office 365 made it as default setting in 2025. Since I always used stand-alone MS Office suite, thus this has no impact for me to try/verify that AcFocus control has always worked with my AutoCAD of all versions/all computers.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me try to give the situation a summary to what I/we know so far:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. In the era of AutoCAD used 32-VBA (There was a period of time when AutoCAD had both 32 and 64 bit version, AutoCAD' VBA is 32-bit ONLY, because MS refused to make 64-bit VBA available not only to third paties, including Autodesk, but also it self's Office apps, until MS found out they had to provide 64-bit VBA for widely used Office Suite, especially for Excel), the activeX control to be used with modeless form in AutoCAD is AcFocusCtrl.dll, which is 32-bit version. Since Autodesk stopped its 32-bit version, and later moved its VBA to 64-bit version, that 32-bit AcFucusCtrl.dll is gone. The 64-bit replacement is AcFocusCtrl16.dll, which sits in C:\Program Files\Common Files\Autodesk Shared\ folder.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So,&amp;nbsp; if one has a VBA project that was built on 32-bit VBA, and used AcFocusCtrl.dll, the VBA project would not work with later AutoCAD because the VBA is now 64-bit. In this case, one can simply open the old VBA project and replace it with the acFocus control from AcFocusCtrl16.dll. Then the VBA project should be back working, assume there is no other 32-bit component used.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. The MS Office security impact. Yes, "Disbale all ActiveX controls" is the one preventing AcFocus working with AutoCAD VBA. It is an unfortunate move for MS to plug possible security hole with widely used Office VBA apps, but Autodesk simply ignore its possible impact to its VBA users, or simply not even paid attention at all. If one installed MS Office 365, this "Disable..." is default. If the MS office is a standalone suite, or installed quite earlier, the "Disable..." setting is not in effect unless one goes to MS Office App-&amp;gt;Options-&amp;gt;Trust Center Settings..." to explicitly enable it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The impact to AutoCAD VBA's modeless UI is like this:&lt;/P&gt;
&lt;P&gt;a. A VBA project with modeless UserForm suddenly stops working. If open the VBA in VBA IDE, there is no AcFocus control sitting on the UserForm (however, the AcFocus control may still presented on ToolBox, or right-click the toolbox and select "Additional Controls..." and the AcFocus control is still listed). One can close AutoCAD session, go to MS Office app and uncheck the option of "Disable all ActiveX controls..."; come back to AutoCAD and run the VBA project to see the modelss UserForm's focusing comes back.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, when one is creating a new VBA macro in AutoCAD and wants to add AcFocus to a UserForm, even the AcFocus control is available on the ToolBox, it simply cannot be drag-dropped onto the UserForm, if the "Disable all..." is enabled.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Again, this is only meant for the situations where someone who has a working VBA projects with modeless UI, and suddenly find it stopped working. At this point, it makes little sense to build new VBA project with this known hassle, IMO.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Sep 2026 16:17:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/form-controls-loose-focus-unmodal-forms/m-p/14257753#M99831</guid>
      <dc:creator>Norman_Yuan</dc:creator>
      <dc:date>2026-09-07T16:17:33Z</dc:date>
    </item>
  </channel>
</rss>

