<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://communities.bentley.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>[CE U13.1] Bug: Missing key-in &amp;quot;VBA EXECUTE&amp;quot;</title><link>https://communities.bentley.com/products/microstation/f/microstation-forum/187281/ce-u13-1-bug-missing-key-in-vba-execute</link><description>Hi, 
 in V8 it was possible to run simple VBA statements directly from MicroStation key-in &amp;quot;vba execute &amp;lt;vba statement&amp;gt;&amp;quot;. In some workflows it was the only way how to e.g. set some values. 
 This issue has been discovered and discussed several times already</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: [CE U13.1] Bug: Missing key-in "VBA EXECUTE"</title><link>https://communities.bentley.com/thread/549813?ContentTypeID=1</link><pubDate>Mon, 21 Oct 2019 07:09:40 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:261330ef-9862-42b7-a18c-671b0ca20c8f</guid><dc:creator>Jon Summers</dc:creator><description>[quote userid="2473" url="~/products/microstation/f/microstation-forum/187281/ce-u13-1-bug-missing-key-in-vba-execute/549806"]It&amp;#39;s not documented in product documentation[/quote]
&lt;p&gt;More accurately, it used not to be documented.&amp;nbsp; I notice that the VBA help doc has been updated (see &lt;em&gt;MicroStation VBA Key-ins&lt;/em&gt;)...&lt;/p&gt;
&lt;h4&gt;&lt;span style="color:seagreen;"&gt;To execute a VBA statement with a key-in:&lt;/span&gt;&lt;/h4&gt;
&lt;pre&gt;Use the following key-in:
MACRO VBA EXECUTE [projectname] &amp;lt;statement&amp;gt;
&lt;/pre&gt;
&lt;p&gt;However, the documentation also has this...&lt;/p&gt;
&lt;h4&gt;&lt;span style="color:seagreen;"&gt;To run a VBA macro from a currently loaded project:&lt;/span&gt;&lt;/h4&gt;
&lt;pre&gt;Use the following key-in:
MACRO VBA RUN &amp;lt;macro name&amp;gt;
&lt;/pre&gt;
&lt;p&gt;But I know that the old key-in works perfectly well...&lt;/p&gt;
&lt;pre&gt;VBA RUN &amp;lt;macro name&amp;gt;&lt;/pre&gt;
&lt;p&gt;So sometimes we must prefix a VBA command with &lt;code&gt;MACRO&lt;/code&gt;, at other times it&amp;#39;s unnecessary.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [CE U13.1] Bug: Missing key-in "VBA EXECUTE"</title><link>https://communities.bentley.com/thread/549806?ContentTypeID=1</link><pubDate>Mon, 21 Oct 2019 06:38:20 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:1e2e52b5-c05e-4661-a685-6562bb2cfe00</guid><dc:creator>Jan Šlegr</dc:creator><description>&lt;p&gt;Great, thanks!&lt;/p&gt;
&lt;p&gt;So I should change the bug classification from &amp;quot;The key-in is not available&amp;quot; to &amp;quot;It&amp;#39;s not documented in product documentation&amp;quot; ;-)&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; Jan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [CE U13.1] Bug: Missing key-in "VBA EXECUTE"</title><link>https://communities.bentley.com/thread/549804?ContentTypeID=1</link><pubDate>Mon, 21 Oct 2019 06:30:32 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:a3acc1dc-ecb8-462a-9a22-5d4c1a9d75bb</guid><dc:creator>Miroslav Matas</dc:creator><description>&lt;p&gt;macro vba execute&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>