<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Excel 2007 Menu</title>
	<atom:link href="http://www.dailydoseofexcel.com/archives/2007/01/20/excel-2007-menu/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dailydoseofexcel.com/archives/2007/01/20/excel-2007-menu/</link>
	<description>Daily posts of Excel tips…and other stuff</description>
	<lastBuildDate>Thu, 09 Feb 2012 18:06:07 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Patrick Wei</title>
		<link>http://www.dailydoseofexcel.com/archives/2007/01/20/excel-2007-menu/#comment-42770</link>
		<dc:creator>Patrick Wei</dc:creator>
		<pubDate>Sat, 12 Dec 2009 00:26:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1587#comment-42770</guid>
		<description>&lt;p&gt;Never mind. I found out the problem. All the 2003 menus get added to the Add Ins menu in the 2007 menu bar. So if I continue to add 2003 standard menu items, they will all get added in the Add Ins menu. de Bruin has a fix for moving the 2003 menus out of the ghetto Add Ins menu. Yipee!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Never mind. I found out the problem. All the 2003 menus get added to the Add Ins menu in the 2007 menu bar. So if I continue to add 2003 standard menu items, they will all get added in the Add Ins menu. de Bruin has a fix for moving the 2003 menus out of the ghetto Add Ins menu. Yipee!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Patrick Wei</title>
		<link>http://www.dailydoseofexcel.com/archives/2007/01/20/excel-2007-menu/#comment-42764</link>
		<dc:creator>Patrick Wei</dc:creator>
		<pubDate>Fri, 11 Dec 2009 22:42:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1587#comment-42764</guid>
		<description>&lt;p&gt;Speaking of Walkenbach&#039;s menu code, I&#039;m using his Excel 2003 Power Programming menu examples to add back Excel 2003 menus in Excel 2007. &lt;/p&gt;
&lt;p&gt;I have the code running in 2003 to write out a complete list of menu, sub menu, and sub menu item names and IDs. The same names and IDs exist in Excel 2007 because I can ran the same code in 2007, but the code to add menus has no effect. What&#039;s changed? &lt;/p&gt;
&lt;p&gt;For instance, the follow code should add a File menu before the Edit the menu. By the way, the control IDs are exactly the same in 2003 and 2007, but I FindControl(ID:=30002) results in a run-time error.&lt;/p&gt;
&lt;p&gt;Sub Add2003Menus()&lt;br&gt;
    Dim fileIndex As Integer&lt;br&gt;
    Dim newFileMenu As CommandBarPopup&lt;/p&gt;
&lt;p&gt;    &#039; get the index of the the edit menu&lt;br&gt;
     fileIndex = CommandBars(1).Controls(&quot;Edit&quot;).Index&lt;/p&gt;
&lt;p&gt;    &#039; find the edit menu by ID&lt;br&gt;
    &#039; fileIndex = CommandBars(1).FindControl(ID:=30002)&lt;/p&gt;
&lt;p&gt;    &#039; check that fileIndex is valid&lt;br&gt;
    Cells(1, 1) = fileIndex&lt;/p&gt;
&lt;p&gt;    &#039; insert the file menu ahead of the edit menu&lt;br&gt;
    Set newFileMenu = CommandBars(1).Controls.Add( _&lt;br&gt;
        Type:=msoControlPopup, _&lt;br&gt;
        Before:=fileIndex, _&lt;br&gt;
        Temporary:=True)&lt;/p&gt;
&lt;p&gt;    &#039; add a caption&lt;br&gt;
        newFileMenu.Caption = &quot;&amp;File&quot;&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Speaking of Walkenbach&#8217;s menu code, I&#8217;m using his Excel 2003 Power Programming menu examples to add back Excel 2003 menus in Excel 2007. </p>
<p>I have the code running in 2003 to write out a complete list of menu, sub menu, and sub menu item names and IDs. The same names and IDs exist in Excel 2007 because I can ran the same code in 2007, but the code to add menus has no effect. What&#8217;s changed? </p>
<p>For instance, the follow code should add a File menu before the Edit the menu. By the way, the control IDs are exactly the same in 2003 and 2007, but I FindControl(ID:=30002) results in a run-time error.</p>
<p>Sub Add2003Menus()<br />
    Dim fileIndex As Integer<br />
    Dim newFileMenu As CommandBarPopup</p>
<p>    &#8216; get the index of the the edit menu<br />
     fileIndex = CommandBars(1).Controls(&#8220;Edit&#8221;).Index</p>
<p>    &#8216; find the edit menu by ID<br />
    &#8216; fileIndex = CommandBars(1).FindControl(ID:=30002)</p>
<p>    &#8216; check that fileIndex is valid<br />
    Cells(1, 1) = fileIndex</p>
<p>    &#8216; insert the file menu ahead of the edit menu<br />
    Set newFileMenu = CommandBars(1).Controls.Add( _<br />
        Type:=msoControlPopup, _<br />
        Before:=fileIndex, _<br />
        Temporary:=True)</p>
<p>    &#8216; add a caption<br />
        newFileMenu.Caption = &#8220;&amp;File&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ron de Bruin</title>
		<link>http://www.dailydoseofexcel.com/archives/2007/01/20/excel-2007-menu/#comment-29735</link>
		<dc:creator>Ron de Bruin</dc:creator>
		<pubDate>Fri, 04 Jan 2008 00:20:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1587#comment-29735</guid>
		<description>&lt;p&gt;Hi Mangesh&lt;/p&gt;
&lt;p&gt;There are examples on my ribbon page to disable all&lt;br&gt;
controls on the office button menu.&lt;/p&gt;
&lt;p&gt;See the dictator examples in the download on my page&lt;br&gt;
&lt;a href=&quot;http://www.rondebruin.nl/ribbon.htm&quot; rel=&quot;nofollow&quot;&gt;http://www.rondebruin.nl/ribbon.htm&lt;/a&gt;&lt;br&gt;
See number 2&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi Mangesh</p>
<p>There are examples on my ribbon page to disable all<br />
controls on the office button menu.</p>
<p>See the dictator examples in the download on my page<br />
<a href="http://www.rondebruin.nl/ribbon.htm" rel="nofollow">http://www.rondebruin.nl/ribbon.htm</a><br />
See number 2</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ron de Bruin</title>
		<link>http://www.dailydoseofexcel.com/archives/2007/01/20/excel-2007-menu/#comment-29734</link>
		<dc:creator>Ron de Bruin</dc:creator>
		<pubDate>Fri, 04 Jan 2008 00:17:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1587#comment-29734</guid>
		<description>&lt;p&gt;Hi all&lt;/p&gt;
&lt;p&gt;I update this page with a add-in example&lt;/p&gt;
&lt;p&gt;Menu for all your workbooks&lt;br&gt;
&lt;a href=&quot;http://www.rondebruin.nl/qat.htm&quot; rel=&quot;nofollow&quot;&gt;http://www.rondebruin.nl/qat.htm&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Easier now I think ?&lt;br&gt;
Let me know if you not agree&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi all</p>
<p>I update this page with a add-in example</p>
<p>Menu for all your workbooks<br />
<a href="http://www.rondebruin.nl/qat.htm" rel="nofollow">http://www.rondebruin.nl/qat.htm</a></p>
<p>Easier now I think ?<br />
Let me know if you not agree</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mangesh</title>
		<link>http://www.dailydoseofexcel.com/archives/2007/01/20/excel-2007-menu/#comment-26647</link>
		<dc:creator>Mangesh</dc:creator>
		<pubDate>Tue, 21 Aug 2007 09:50:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1587#comment-26647</guid>
		<description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I would like to remove office button from excel 2007, please help if possible.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I would like to remove office button from excel 2007, please help if possible.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ron de Bruin</title>
		<link>http://www.dailydoseofexcel.com/archives/2007/01/20/excel-2007-menu/#comment-22278</link>
		<dc:creator>Ron de Bruin</dc:creator>
		<pubDate>Wed, 31 Jan 2007 23:21:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1587#comment-22278</guid>
		<description>&lt;p&gt;Hi all&lt;/p&gt;
&lt;p&gt;I add a new page to my site : Change the ribbon in Excel 2007&lt;/p&gt;
&lt;p&gt;Suggestions are welcome&lt;br&gt;
I will add more examples when I have time and ideas.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.rondebruin.nl/ribbon.htm&quot; rel=&quot;nofollow&quot;&gt;http://www.rondebruin.nl/ribbon.htm&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Have fun&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi all</p>
<p>I add a new page to my site : Change the ribbon in Excel 2007</p>
<p>Suggestions are welcome<br />
I will add more examples when I have time and ideas.</p>
<p><a href="http://www.rondebruin.nl/ribbon.htm" rel="nofollow">http://www.rondebruin.nl/ribbon.htm</a></p>
<p>Have fun</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Alexander</title>
		<link>http://www.dailydoseofexcel.com/archives/2007/01/20/excel-2007-menu/#comment-22149</link>
		<dc:creator>Mike Alexander</dc:creator>
		<pubDate>Sun, 21 Jan 2007 11:47:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1587#comment-22149</guid>
		<description>&lt;p&gt;Very creative workaround Ron!  Very nice.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Very creative workaround Ron!  Very nice.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

