<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.office.com/utility/FeedStylesheets/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>How to: Create a Shortcut Menu for a Form, Form Control, or Report</title><link>http://blogs.office.com/b/microsoft-access/archive/2009/05/21/how-to-create-a-shortcut-menu-for-a-form-form-control-or-report.aspx</link><description>Today&amp;rsquo;s guest blogger is Edwin Blancovitch. Edwin is president of Advanced Developers.net , creators of Easy Payroll , a software package to manage your human resources, payroll, scheduling, time and attendance needs. When you're designing a form</description><dc:language>en-US</dc:language><generator>Telligent Community 1.5.134.15456 (Build: 5.5.134.15456)</generator><item><title>re: How to: Create a Shortcut Menu for a Form, Form Control, or Report</title><link>http://blogs.office.com/b/microsoft-access/archive/2009/05/21/how-to-create-a-shortcut-menu-for-a-form-form-control-or-report.aspx#23997</link><pubDate>Thu, 27 Jan 2011 04:44:31 GMT</pubDate><guid isPermaLink="false">53587256-c606-4c9b-bad4-97c86b12ce62:23997</guid><dc:creator>TennChris</dc:creator><description>&lt;p&gt;Ans. &amp;nbsp;In code, the easiest is to just delete the custom command bar. &amp;nbsp;If the command bar name is SimpleShortCutMenu, then use:&lt;/p&gt;
&lt;p&gt;CommandBars.Item(&amp;quot;SimpleShortcutMenu&amp;quot;).Delete&lt;/p&gt;
&lt;p&gt;One can also delete individual control items in the command bar, but why bother when it is easier to delete and recreate. To delete individual control items use something like:&lt;/p&gt;
&lt;p&gt;CommandBars.Item(&amp;quot;SimpleShortcutMenu&amp;quot;).Controls.Item(3).Delete&lt;/p&gt;
&lt;p&gt;where 3 is the third control command in the shortcut menu.&lt;/p&gt;
&lt;p&gt;or&lt;/p&gt;
&lt;p&gt;CommandBars.Item(&amp;quot;SimpleShortcutMenu&amp;quot;).Controls.Item(&amp;quot;Find&amp;quot;).Delete &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/p&gt;
&lt;p&gt;where &amp;quot;Find&amp;quot; is the name of the control command&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.office.com/aggbug.aspx?PostID=23997" width="1" height="1"&gt;</description></item><item><title>re: How to: Create a Shortcut Menu for a Form, Form Control, or Report</title><link>http://blogs.office.com/b/microsoft-access/archive/2009/05/21/how-to-create-a-shortcut-menu-for-a-form-form-control-or-report.aspx#23986</link><pubDate>Wed, 26 Jan 2011 18:19:06 GMT</pubDate><guid isPermaLink="false">53587256-c606-4c9b-bad4-97c86b12ce62:23986</guid><dc:creator>TennChris</dc:creator><description>&lt;p&gt;How does one delete a custom shortcut menu created with this code? &amp;nbsp;It must be so easy I&amp;#39;m missing it. Thanks. BTW, nice coding.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.office.com/aggbug.aspx?PostID=23986" width="1" height="1"&gt;</description></item><item><title>re: How to: Create a Shortcut Menu for a Form, Form Control, or Report</title><link>http://blogs.office.com/b/microsoft-access/archive/2009/05/21/how-to-create-a-shortcut-menu-for-a-form-form-control-or-report.aspx#15849</link><pubDate>Fri, 22 May 2009 02:23:19 GMT</pubDate><guid isPermaLink="false">53587256-c606-4c9b-bad4-97c86b12ce62:15849</guid><dc:creator>Tony D'Ambra</dc:creator><description>&lt;p&gt;A very useful article. Forced by the poor documentation on this functionality in the Access 2007 Help file and from MDSN, I have been using a workaround, that in a way is both easier and more flexible, and embeds the custom popups in the actual database. You need Access 2003 installed on the development machine. As any serious Access developer retains at least the previous version of Access on his machine, this should not be an issue. In an Access 2003 MDB create your library of custom popup commandbars the easy way using the Customize dialog. In your Access 2007 MDB or ACCDB, from the RibbonBar, use the Get External Data commands to invoke the Import Objects dialog (to import from the Access 2003 database), click Options&amp;gt;&amp;gt;, check &amp;quot;Menus and Toolbars&amp;quot;, and click OK. All you&amp;#39;re custom popups are now available for assignment using the form properties dialog or VBA.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.office.com/aggbug.aspx?PostID=15849" width="1" height="1"&gt;</description></item></channel></rss>