<?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: Modeless Msgbox in Excel in VBA Forum</title>
    <link>https://forums.autodesk.com/t5/vba-forum/modeless-msgbox-in-excel/m-p/1050202#M53621</link>
    <description>Why not make it two macros in AutoCAD?  One calls Excel, the other is called by Excel when you're finished over there.&lt;BR /&gt;
Also, look into vba.appactivate.&lt;BR /&gt;
&lt;BR /&gt;
------------------------&lt;BR /&gt;
Basically, I want ACAD to pass focus to Excel, where I can do my work and&lt;BR /&gt;
have a button to explicitly tell ACAD when I am done working, so that the&lt;BR /&gt;
ACAD macro knows when it can finish. I have had this very thing for a while&lt;BR /&gt;
now and it works great, except that my "gotoacad" button shows in ACAD, not&lt;BR /&gt;
Excel. Am I going about this all wrong?</description>
    <pubDate>Mon, 21 Jun 2004 19:08:57 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2004-06-21T19:08:57Z</dc:date>
    <item>
      <title>Modeless Msgbox in Excel</title>
      <link>https://forums.autodesk.com/t5/vba-forum/modeless-msgbox-in-excel/m-p/1050201#M53620</link>
      <description>Stemming from the post "Msgbox in Excel"...  Thanks to those who posted I
have finally managed to show my userform in Excel.  Been wanting to do that
for a loong time now.  Many thanks to you guys.

But I promptly ran into another issue:  Is it not possible for AutoCAD to
wait for a modeless Excel userform to close before continuing?

I tried using an Excel function that returns a value, and setting an
arbitrary variable in the ACAD module to ExclApp.run...etc. thinking then it
would have to wait.  But no, it blazed right on through and the Excel
function even returned it's value without me ever having a chance to touch
the modeless userform.

Basically, I want ACAD to pass focus to Excel, where I can do my work and
have a button to explicitly tell ACAD when I am done working, so that the
ACAD macro knows when it can finish.  I have had this very thing for a while
now and it works great, except that my "gotoacad" button shows in ACAD, not
Excel.  Am I going about this all wrong?
-- 
James Allen
Malicoat-Winslow Engineers, P.C.
Columbia, MO
To reply by email;  ~AA~ = @  and  ~DD~ = .</description>
      <pubDate>Fri, 04 Jun 2004 19:00:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/modeless-msgbox-in-excel/m-p/1050201#M53620</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-06-04T19:00:43Z</dc:date>
    </item>
    <item>
      <title>Re: Modeless Msgbox in Excel</title>
      <link>https://forums.autodesk.com/t5/vba-forum/modeless-msgbox-in-excel/m-p/1050202#M53621</link>
      <description>Why not make it two macros in AutoCAD?  One calls Excel, the other is called by Excel when you're finished over there.&lt;BR /&gt;
Also, look into vba.appactivate.&lt;BR /&gt;
&lt;BR /&gt;
------------------------&lt;BR /&gt;
Basically, I want ACAD to pass focus to Excel, where I can do my work and&lt;BR /&gt;
have a button to explicitly tell ACAD when I am done working, so that the&lt;BR /&gt;
ACAD macro knows when it can finish. I have had this very thing for a while&lt;BR /&gt;
now and it works great, except that my "gotoacad" button shows in ACAD, not&lt;BR /&gt;
Excel. Am I going about this all wrong?</description>
      <pubDate>Mon, 21 Jun 2004 19:08:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/modeless-msgbox-in-excel/m-p/1050202#M53621</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-06-21T19:08:57Z</dc:date>
    </item>
    <item>
      <title>Re: Modeless Msgbox in Excel</title>
      <link>https://forums.autodesk.com/t5/vba-forum/modeless-msgbox-in-excel/m-p/1050203#M53622</link>
      <description>That's a good idea.  I'll have to give it some thought...

Thanks,

James</description>
      <pubDate>Mon, 21 Jun 2004 19:29:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/modeless-msgbox-in-excel/m-p/1050203#M53622</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-06-21T19:29:47Z</dc:date>
    </item>
  </channel>
</rss>

