<?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: Shortcut VBA like Excel - can't find how in VBA Forum</title>
    <link>https://forums.autodesk.com/t5/vba-forum/shortcut-vba-like-excel-can-t-find-how/m-p/1668248#M33822</link>
    <description>First create a lisp command wrapper for the macro (search the ng for this &lt;BR /&gt;
part), then assign the lisp to a key using the normal pgp methods.&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
----&lt;BR /&gt;
Ed&lt;BR /&gt;
----</description>
    <pubDate>Thu, 08 Jun 2006 15:12:26 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2006-06-08T15:12:26Z</dc:date>
    <item>
      <title>Shortcut VBA like Excel - can't find how</title>
      <link>https://forums.autodesk.com/t5/vba-forum/shortcut-vba-like-excel-can-t-find-how/m-p/1668246#M33820</link>
      <description>I'd like to be able to run VBA code using CTRL + &lt;SOME key=""&gt; in the same way that I do with Excel VBA.  I've looke but don't find that feature anywhere, and when I've searched this NG I've seen others ask the same question, but never with a simple direct answer FOR VBA code (although people address it for menus...I'm not interested in menus though).  It seems like an obvious thing to do for repetitive tasks.&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
-Tony&lt;/SOME&gt;</description>
      <pubDate>Thu, 08 Jun 2006 00:38:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/shortcut-vba-like-excel-can-t-find-how/m-p/1668246#M33820</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-06-08T00:38:56Z</dc:date>
    </item>
    <item>
      <title>Re: Shortcut VBA like Excel - can't find how</title>
      <link>https://forums.autodesk.com/t5/vba-forum/shortcut-vba-like-excel-can-t-find-how/m-p/1668247#M33821</link>
      <description>Hi Tony,&lt;BR /&gt;
&lt;BR /&gt;
Unlike Excel where typically the Macros are embedded in the spreadsheet, in &lt;BR /&gt;
the main with VBA for AutoCAD the macros are stored in an external file &lt;BR /&gt;
which needs to be loaded.  This extra step provides an advantage to using a &lt;BR /&gt;
menu command.&lt;BR /&gt;
&lt;BR /&gt;
However, there is no reason why you couldn't load your program(s) on startup &lt;BR /&gt;
and then define a Ctrl&lt;SOMETHING&gt; to invoke VBARUN, then select the macro &lt;BR /&gt;
you want from the available list of macros, or define losts of &lt;BR /&gt;
Crtl(Somethings&amp;gt; to run different commands.&lt;BR /&gt;
&lt;BR /&gt;
Due to the different natures of AutoCAD cf Excel I rather suspect you'll &lt;BR /&gt;
soon get sick of invoking a command, selecting a macro compared with &lt;BR /&gt;
creating a Menu/Toolbar/specific keyboard shortcut/Palette method of &lt;BR /&gt;
starting your macros.&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
&lt;BR /&gt;
Laurie Comerford&lt;BR /&gt;
CADApps&lt;BR /&gt;
www.cadapps.com.au&lt;BR /&gt;
&lt;TONY.&gt; wrote in message news:5199277@discussion.autodesk.com...&lt;BR /&gt;
I'd like to be able to run VBA code using CTRL + &lt;SOME key=""&gt; in the same way &lt;BR /&gt;
that I do with Excel VBA.  I've looke but don't find that feature anywhere, &lt;BR /&gt;
and when I've searched this NG I've seen others ask the same question, but &lt;BR /&gt;
never with a simple direct answer FOR VBA code (although people address it &lt;BR /&gt;
for menus...I'm not interested in menus though).  It seems like an obvious &lt;BR /&gt;
thing to do for repetitive tasks.&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
-Tony&lt;/SOME&gt;&lt;/TONY.&gt;&lt;/SOMETHING&gt;</description>
      <pubDate>Thu, 08 Jun 2006 10:53:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/shortcut-vba-like-excel-can-t-find-how/m-p/1668247#M33821</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-06-08T10:53:49Z</dc:date>
    </item>
    <item>
      <title>Re: Shortcut VBA like Excel - can't find how</title>
      <link>https://forums.autodesk.com/t5/vba-forum/shortcut-vba-like-excel-can-t-find-how/m-p/1668248#M33822</link>
      <description>First create a lisp command wrapper for the macro (search the ng for this &lt;BR /&gt;
part), then assign the lisp to a key using the normal pgp methods.&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
----&lt;BR /&gt;
Ed&lt;BR /&gt;
----</description>
      <pubDate>Thu, 08 Jun 2006 15:12:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/shortcut-vba-like-excel-can-t-find-how/m-p/1668248#M33822</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-06-08T15:12:26Z</dc:date>
    </item>
    <item>
      <title>Re: Shortcut VBA like Excel - can't find how</title>
      <link>https://forums.autodesk.com/t5/vba-forum/shortcut-vba-like-excel-can-t-find-how/m-p/1668249#M33823</link>
      <description>"... and then define a Ctrl&lt;SOMETHING&gt; to invoke VBARUN, then select the&lt;BR /&gt;
macro&lt;BR /&gt;
you want from the available list of macros..."&lt;BR /&gt;
&lt;BR /&gt;
Like Alt-F8?&lt;BR /&gt;
-- &lt;BR /&gt;
James Allen&lt;BR /&gt;
Malicoat-Winslow Engineers, P.C.&lt;BR /&gt;
Columbia, MO&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Laurie Comerford" &lt;LAURIE.COMERFORD&gt; wrote in message&lt;BR /&gt;
news:5199513@discussion.autodesk.com...&lt;BR /&gt;
&lt;SNIP&gt;&lt;/SNIP&gt;&lt;/LAURIE.COMERFORD&gt;&lt;/SOMETHING&gt;</description>
      <pubDate>Thu, 08 Jun 2006 17:48:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/shortcut-vba-like-excel-can-t-find-how/m-p/1668249#M33823</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-06-08T17:48:52Z</dc:date>
    </item>
    <item>
      <title>Re: Shortcut VBA like Excel - can't find how</title>
      <link>https://forums.autodesk.com/t5/vba-forum/shortcut-vba-like-excel-can-t-find-how/m-p/1668250#M33824</link>
      <description>Thank you, Laurie, for the explanation.  Up to now I'd only been writing VBA to drive AutoCAD using VBA, so I hadn't appreciated the difference between VBA in Excel and AutoCAD.  Now I can see why I couldn't find how to do what I was trying, and why learning the menu approach will be necessary when using pure AutoCAD vba.&lt;BR /&gt;
&lt;BR /&gt;
-Tony</description>
      <pubDate>Thu, 08 Jun 2006 19:31:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/shortcut-vba-like-excel-can-t-find-how/m-p/1668250#M33824</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-06-08T19:31:49Z</dc:date>
    </item>
    <item>
      <title>Re: Shortcut VBA like Excel - can't find how</title>
      <link>https://forums.autodesk.com/t5/vba-forum/shortcut-vba-like-excel-can-t-find-how/m-p/1668251#M33825</link>
      <description>Mistake: I meant to say: "...up till now I'd only been writing VBA to drive AutoCAD using Excel"</description>
      <pubDate>Thu, 08 Jun 2006 19:32:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/shortcut-vba-like-excel-can-t-find-how/m-p/1668251#M33825</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-06-08T19:32:56Z</dc:date>
    </item>
  </channel>
</rss>

