<?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: Run VBA macro in VBA Forum</title>
    <link>https://forums.autodesk.com/t5/vba-forum/run-vba-macro/m-p/8669545#M7666</link>
    <description>&lt;P&gt;Did you verify that ACADProject is the project name? I would take the file off of the root folder and put it in a sub folder that you can add to the &lt;FONT color="#3366FF"&gt;Trusted Paths&lt;/FONT&gt; folder list in &lt;FONT color="#3366FF"&gt;&lt;STRONG&gt;Options&amp;gt;Files&lt;/STRONG&gt;&lt;/FONT&gt; tab. You may have an access issue. For example, I have&amp;nbsp; C:\AcadCustom that I keep all my code in.&lt;/P&gt;</description>
    <pubDate>Tue, 19 Mar 2019 18:23:55 GMT</pubDate>
    <dc:creator>Ed__Jobe</dc:creator>
    <dc:date>2019-03-19T18:23:55Z</dc:date>
    <item>
      <title>Run VBA macro</title>
      <link>https://forums.autodesk.com/t5/vba-forum/run-vba-macro/m-p/7363925#M7659</link>
      <description>&lt;P&gt;Hello:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I apologize because I write very badly in English.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created a macro in VBA.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To execute it I do:&lt;/P&gt;&lt;P&gt;-vbarun (RETURN)&lt;/P&gt;&lt;P&gt;Enter macro name (RETURN)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any way to run -vbarun by passing the macro name as a parameter?&lt;/P&gt;&lt;P&gt;This is for when you have to run the macro several times, do not have to type the name of the macro.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A greeting&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Sep 2017 07:28:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/run-vba-macro/m-p/7363925#M7659</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-08T07:28:12Z</dc:date>
    </item>
    <item>
      <title>Re: Run VBA macro</title>
      <link>https://forums.autodesk.com/t5/vba-forum/run-vba-macro/m-p/7366626#M7660</link>
      <description>&lt;P&gt;My suggestion is to place a acaddoc.lsp file inside the instalation directory. In that file you can have multiple commands/shortcuts to run the macros, in the form:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(defun c:&amp;lt;command name&amp;gt; ()&lt;BR /&gt;&amp;nbsp; (vl-vbarun "&amp;lt;project path starting in the installation directory&amp;gt;/&amp;lt;name of the project file&amp;gt;.dvb!&amp;lt;name of the module&amp;gt;.&amp;lt;name of the macro&amp;gt;")&lt;BR /&gt;&amp;nbsp; (princ))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, for command "ABC" to run the macro "hello", which is in "Module3" of project "Project.dvb", which is inside the folder "Macros" that is inside the installation directory:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(defun c:ABC ()&lt;BR /&gt;&amp;nbsp; (vl-vbarun "Macros/Project.dvb!Module3.hello")&lt;BR /&gt;&amp;nbsp; (princ))&lt;/P&gt;</description>
      <pubDate>Sat, 09 Sep 2017 07:44:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/run-vba-macro/m-p/7366626#M7660</guid>
      <dc:creator>miguelmachadoecosta</dc:creator>
      <dc:date>2017-09-09T07:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: Run VBA macro</title>
      <link>https://forums.autodesk.com/t5/vba-forum/run-vba-macro/m-p/7366654#M7661</link>
      <description>&lt;P&gt;Hello Miguel:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It has worked&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you very much.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 09 Sep 2017 08:24:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/run-vba-macro/m-p/7366654#M7661</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-09T08:24:58Z</dc:date>
    </item>
    <item>
      <title>Re: Run VBA macro</title>
      <link>https://forums.autodesk.com/t5/vba-forum/run-vba-macro/m-p/7389988#M7662</link>
      <description>&lt;P&gt;Different solution could be to create a button in your palette (if you prefer mouse clicks than keyboard commands).&lt;/P&gt;&lt;P&gt;Just go to your palette -&amp;gt; add new tool -&amp;gt; in "Command string" section put:&amp;nbsp;&lt;/P&gt;&lt;P&gt;^C^C_-vbarun;"macroName"&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.png" style="width: 382px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/402723iB02FF25BCF18CA01/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Sep 2017 08:20:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/run-vba-macro/m-p/7389988#M7662</guid>
      <dc:creator>sieclaprzemyslaw</dc:creator>
      <dc:date>2017-09-19T08:20:15Z</dc:date>
    </item>
    <item>
      <title>Re: Run VBA macro</title>
      <link>https://forums.autodesk.com/t5/vba-forum/run-vba-macro/m-p/8669387#M7663</link>
      <description>&lt;P&gt;I just came across this thread, and I have a follow-up question for you regarding your method.&amp;nbsp; This is what I have in my button's command string:&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;^C^C_-vbarun;"C:\CentroidFinder.dvb!Module1.Centroidfinder"&lt;/P&gt;
&lt;P&gt;But, when I press the button, all I get is AutoCad asking me for a macro:&amp;nbsp; &amp;nbsp;-VBARUN Macro name:&amp;nbsp; "C:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The macro itself works fine if I run it manually, and if I paste&amp;nbsp;"C:\CentroidFinder.dvb!Module1.Centroidfinder" after the prompt it gives me when pressing the button.&amp;nbsp; The button just doesn't automatically run the macro.&amp;nbsp; What am I doing wrong?&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2019 17:31:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/run-vba-macro/m-p/8669387#M7663</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-19T17:31:12Z</dc:date>
    </item>
    <item>
      <title>Re: Run VBA macro</title>
      <link>https://forums.autodesk.com/t5/vba-forum/run-vba-macro/m-p/8669477#M7664</link>
      <description>&lt;P&gt;You need to include the project name, e.g. filepath.dvb!&lt;FONT color="#FF0000"&gt;ProjectName&lt;/FONT&gt;.ModuleName.MacroName. If you didn't remname it, the default is ACADProject. The VBAMAN dialog shows you what it is.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2019 17:58:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/run-vba-macro/m-p/8669477#M7664</guid>
      <dc:creator>Ed__Jobe</dc:creator>
      <dc:date>2019-03-19T17:58:41Z</dc:date>
    </item>
    <item>
      <title>Re: Run VBA macro</title>
      <link>https://forums.autodesk.com/t5/vba-forum/run-vba-macro/m-p/8669529#M7665</link>
      <description>&lt;P&gt;Ed,&lt;/P&gt;
&lt;P&gt;Thanks for the quick response!&amp;nbsp; I added the project name.&amp;nbsp; Now I have this:&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;^C^C_-vbarun;"C:\CentroidFinder.dvb!ACADProject.Module1.Centroidfinder"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But I'm still getting the exact same issue.&amp;nbsp; Do I have a syntax problem?&amp;nbsp; I've checked all the spellings multiple times, so it's not that.&amp;nbsp; I'm running AutoCAD 2018 if that matters.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2019 18:16:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/run-vba-macro/m-p/8669529#M7665</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-19T18:16:56Z</dc:date>
    </item>
    <item>
      <title>Re: Run VBA macro</title>
      <link>https://forums.autodesk.com/t5/vba-forum/run-vba-macro/m-p/8669545#M7666</link>
      <description>&lt;P&gt;Did you verify that ACADProject is the project name? I would take the file off of the root folder and put it in a sub folder that you can add to the &lt;FONT color="#3366FF"&gt;Trusted Paths&lt;/FONT&gt; folder list in &lt;FONT color="#3366FF"&gt;&lt;STRONG&gt;Options&amp;gt;Files&lt;/STRONG&gt;&lt;/FONT&gt; tab. You may have an access issue. For example, I have&amp;nbsp; C:\AcadCustom that I keep all my code in.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2019 18:23:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/run-vba-macro/m-p/8669545#M7666</guid>
      <dc:creator>Ed__Jobe</dc:creator>
      <dc:date>2019-03-19T18:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: Run VBA macro</title>
      <link>https://forums.autodesk.com/t5/vba-forum/run-vba-macro/m-p/8669594#M7667</link>
      <description>&lt;P&gt;I did all of that, still nothing!&amp;nbsp; &amp;nbsp;As I said, the macro does work when I go to Tools&amp;gt;Macro&amp;gt;Macros&amp;gt;Run.&amp;nbsp; (the macro name is&amp;nbsp;C:\AcadCustom\CentroidFinder.dvb!Module1.Centroidfinder)&amp;nbsp; But when I press the button, I get this in the command line:&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;_-vbarun Macro name: "C:\&lt;/P&gt;
&lt;P&gt;If I fill in the rest of the macro name after the "C:\, it'll run.&amp;nbsp; Why won't it just do it automatically?&lt;/P&gt;
&lt;P&gt;EDIT:&amp;nbsp; tried to attach, but the site wouldn't let me.&amp;nbsp; Here's the raw text in Module1:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sub Centroidfinder()&lt;BR /&gt;Dim ent(0) As AcadEntity&lt;BR /&gt;Dim p1 As AcadLWPolyline&lt;BR /&gt;Dim pp As Variant&lt;BR /&gt;Dim reg As AcadRegion&lt;BR /&gt;Dim center As AcadCircle&lt;BR /&gt;Dim varctr As Variant&lt;BR /&gt;Dim radius As Double&lt;BR /&gt;Dim ctr(2) As Double&lt;/P&gt;
&lt;P&gt;ctr(2) = 0&lt;BR /&gt;radius = 4&lt;/P&gt;
&lt;P&gt;ThisDrawing.Utility.GetEntity ent(0), "Select a polyline: "&lt;/P&gt;
&lt;P&gt;If TypeOf ent(0) Is AcadLWPolyline Or TypeOf ent(0) Is AcadPolyline Then&lt;BR /&gt;pp = ThisDrawing.ModelSpace.AddRegion(ent)&lt;BR /&gt;ent(0).Delete&lt;BR /&gt;MsgBox "A region was created"&lt;BR /&gt;&lt;BR /&gt;varctr = pp(0).Centroid&lt;BR /&gt;ctr(0) = varctr(0)&lt;BR /&gt;ctr(1) = varctr(1)&lt;BR /&gt;Set center = ThisDrawing.ModelSpace.AddCircle(ctr, radius)&lt;BR /&gt;'ThisDrawing.SendCommand ("MASSPROP" &amp;amp; vbCr)&lt;BR /&gt;ElseIf TypeOf ent(0) Is AcadRegion Then&lt;BR /&gt;varctr = ent(0).Centroid&lt;BR /&gt;ctr(0) = varctr(0)&lt;BR /&gt;ctr(1) = varctr(1)&lt;BR /&gt;Set center = ThisDrawing.ModelSpace.AddCircle(ctr, radius)&lt;BR /&gt;End If&lt;/P&gt;
&lt;P&gt;End Sub&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2019 18:49:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/run-vba-macro/m-p/8669594#M7667</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-19T18:49:02Z</dc:date>
    </item>
    <item>
      <title>Re: Run VBA macro</title>
      <link>https://forums.autodesk.com/t5/vba-forum/run-vba-macro/m-p/8669643#M7668</link>
      <description>&lt;P&gt;Its not the code, since you can run that using the VBARUN dialog. Its that the command line version can't find it. You didn't say if you verified the project name. See the screenshot of the VBAMAN command. &lt;BR /&gt;The yellow area is the Project Name.&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="VBAMAN.png" style="width: 616px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/615798iCDFF63366B21B012/image-size/large?v=v2&amp;amp;px=999" role="button" title="VBAMAN.png" alt="VBAMAN.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2019 19:03:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/run-vba-macro/m-p/8669643#M7668</guid>
      <dc:creator>Ed__Jobe</dc:creator>
      <dc:date>2019-03-19T19:03:25Z</dc:date>
    </item>
    <item>
      <title>Re: Run VBA macro</title>
      <link>https://forums.autodesk.com/t5/vba-forum/run-vba-macro/m-p/8669669#M7669</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;
&lt;P&gt;OK, here's a screenshot of everything, maybe you can see something.&amp;nbsp; I appreciate your patience with me!&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 619px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/615806iB8483B3A6DD1B973/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 688px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/615803i6DAC41519EF80196/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2019 19:15:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/run-vba-macro/m-p/8669669#M7669</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-19T19:15:05Z</dc:date>
    </item>
    <item>
      <title>Re: Run VBA macro</title>
      <link>https://forums.autodesk.com/t5/vba-forum/run-vba-macro/m-p/8669730#M7670</link>
      <description>&lt;P&gt;I don't know. I looks ok. Can you include a screenshot of the upper left corner of the module's code window. It will have the complete path and module name in the title bar.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2019 19:45:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/run-vba-macro/m-p/8669730#M7670</guid>
      <dc:creator>Ed__Jobe</dc:creator>
      <dc:date>2019-03-19T19:45:45Z</dc:date>
    </item>
    <item>
      <title>Re: Run VBA macro</title>
      <link>https://forums.autodesk.com/t5/vba-forum/run-vba-macro/m-p/8669756#M7671</link>
      <description>&lt;P&gt;Here you go.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&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="image.png" style="width: 631px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/615832iCACFF1F6F73042E4/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2019 19:50:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/run-vba-macro/m-p/8669756#M7671</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-19T19:50:22Z</dc:date>
    </item>
    <item>
      <title>Re: Run VBA macro</title>
      <link>https://forums.autodesk.com/t5/vba-forum/run-vba-macro/m-p/8669784#M7672</link>
      <description>&lt;P&gt;I don't see anything wrong. You might try adding C:\AcadCustom to the Support File Search Path in the Files tab of Options. Did you add it to Trusted Paths?&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2019 20:00:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/run-vba-macro/m-p/8669784#M7672</guid>
      <dc:creator>Ed__Jobe</dc:creator>
      <dc:date>2019-03-19T20:00:50Z</dc:date>
    </item>
    <item>
      <title>Re: Run VBA macro</title>
      <link>https://forums.autodesk.com/t5/vba-forum/run-vba-macro/m-p/8669800#M7673</link>
      <description>&lt;P&gt;I did both of those..&amp;nbsp; I guess I'm out of luck for now, but thank you so much for your effort!&amp;nbsp; If I get lucky and solve it, I'll post the solution here!&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2019 20:06:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/run-vba-macro/m-p/8669800#M7673</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-19T20:06:22Z</dc:date>
    </item>
    <item>
      <title>Re: Run VBA macro</title>
      <link>https://forums.autodesk.com/t5/vba-forum/run-vba-macro/m-p/8669876#M7674</link>
      <description>&lt;P&gt;See if it works with lisp. Paste this to the command line.&lt;/P&gt;
&lt;P&gt;(vl-vbarun "C:\AcadCustom\CentroidFinder.dvb!ACADProject.Module1.Centroidfinder")&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this works, you may want to consider creating a lisp file for your cui. Just name it the same as your cui, but with a *.mnl extension. See this thread I created at &lt;A href="http://forums.augi.com/showthread.php?55292-TIP-VBA-command-wrappers-for-lisp" target="_blank" rel="noopener"&gt;augi.com&lt;/A&gt;. This way you get the benefit of having commands that you show up in autofill and you can hit Enter to repeat the command.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2019 20:31:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/run-vba-macro/m-p/8669876#M7674</guid>
      <dc:creator>Ed__Jobe</dc:creator>
      <dc:date>2019-03-19T20:31:48Z</dc:date>
    </item>
    <item>
      <title>Re: Run VBA macro</title>
      <link>https://forums.autodesk.com/t5/vba-forum/run-vba-macro/m-p/8671319#M7675</link>
      <description>&lt;P&gt;SOLVED!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Apparently, it was the backslashes in the name.... When I remove them, this works like a charm:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 601px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/616120iAE9CC3460BFC31AB/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2019 12:15:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/run-vba-macro/m-p/8671319#M7675</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-20T12:15:42Z</dc:date>
    </item>
    <item>
      <title>Re: Run VBA macro</title>
      <link>https://forums.autodesk.com/t5/vba-forum/run-vba-macro/m-p/8671702#M7676</link>
      <description>&lt;P&gt;Glad you got it to work. Sorry I didn't catch that. Using the complete path would have worked if you used double backslashes. At the prompt a backslash in a string has &lt;A href="http://help.autodesk.com/view/OARX/2018/ENU/?guid=GUID-C8E55E82-0104-4305-95E5-1671628A2FF3" target="_blank" rel="noopener"&gt;special meaning&lt;/A&gt; and means that the next character is a code. e.g. "\n" is the new line or {Enter} character. To get the backslash to be a literal character, you need two backslashes. e.g.&lt;/P&gt;
&lt;P&gt;(vl-vbarun "C:\\AcadCustom\\CentroidFinder.dvb!ACADProject.Module1.Centroidfinder")&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your solution worked because the full path was not needed since you put the dvb in a folder that is in the search path. If you included the full path, it would save a millisecond or two by not having to search for the file.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2019 14:25:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/run-vba-macro/m-p/8671702#M7676</guid>
      <dc:creator>Ed__Jobe</dc:creator>
      <dc:date>2019-03-20T14:25:36Z</dc:date>
    </item>
    <item>
      <title>Re: Run VBA macro</title>
      <link>https://forums.autodesk.com/t5/vba-forum/run-vba-macro/m-p/9460970#M7677</link>
      <description>&lt;P&gt;I found that \ for the project file path does not work in running VBARUN command from Tool palette. Please use / instead to workaround the problem.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2020 01:39:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/run-vba-macro/m-p/9460970#M7677</guid>
      <dc:creator>Katsuaki.T</dc:creator>
      <dc:date>2020-04-22T01:39:00Z</dc:date>
    </item>
  </channel>
</rss>

