<?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: Dealing with Ribbons and Menus &#8211; Avoiding Two Versions</title>
	<atom:link href="http://www.dailydoseofexcel.com/archives/2008/01/31/dealing-with-ribbons-and-menus-avoiding-two-versions/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dailydoseofexcel.com/archives/2008/01/31/dealing-with-ribbons-and-menus-avoiding-two-versions/</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: Ron de Bruin</title>
		<link>http://www.dailydoseofexcel.com/archives/2008/01/31/dealing-with-ribbons-and-menus-avoiding-two-versions/#comment-33931</link>
		<dc:creator>Ron de Bruin</dc:creator>
		<pubDate>Wed, 30 Jul 2008 14:59:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1805#comment-33931</guid>
		<description>&lt;p&gt;Hi Brendan&lt;/p&gt;
&lt;p&gt;Which example from the page do you use ?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi Brendan</p>
<p>Which example from the page do you use ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brendan Gunning</title>
		<link>http://www.dailydoseofexcel.com/archives/2008/01/31/dealing-with-ribbons-and-menus-avoiding-two-versions/#comment-33927</link>
		<dc:creator>Brendan Gunning</dc:creator>
		<pubDate>Wed, 30 Jul 2008 10:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1805#comment-33927</guid>
		<description>&lt;p&gt;I was wondering if you had noticed a problem with the dynamic menus where they fail to work if there is no workbook open.  Do you know of a solution.  It just shows and empty menu.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Bren&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I was wondering if you had noticed a problem with the dynamic menus where they fail to work if there is no workbook open.  Do you know of a solution.  It just shows and empty menu.</p>
<p>Thanks,</p>
<p>Bren</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ron de Bruin</title>
		<link>http://www.dailydoseofexcel.com/archives/2008/01/31/dealing-with-ribbons-and-menus-avoiding-two-versions/#comment-30474</link>
		<dc:creator>Ron de Bruin</dc:creator>
		<pubDate>Wed, 06 Feb 2008 23:59:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1805#comment-30474</guid>
		<description>&lt;p&gt;Hi all&lt;/p&gt;
&lt;p&gt;I changed Example3 on this page&lt;br&gt;
&lt;a href=&quot;http://www.rondebruin.nl/compatiblemenu.htm&quot; rel=&quot;nofollow&quot;&gt;http://www.rondebruin.nl/compatiblemenu.htm&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I think it is a good example.&lt;br&gt;
You use the same Excel 2007 add-in for every workbook that use this technique in this example.&lt;br&gt;
I add two test xls file in the download so you can see how it work.&lt;/p&gt;
&lt;p&gt;Suggestions to make it better are welcome&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi all</p>
<p>I changed Example3 on this page<br />
<a href="http://www.rondebruin.nl/compatiblemenu.htm" rel="nofollow">http://www.rondebruin.nl/compatiblemenu.htm</a></p>
<p>I think it is a good example.<br />
You use the same Excel 2007 add-in for every workbook that use this technique in this example.<br />
I add two test xls file in the download so you can see how it work.</p>
<p>Suggestions to make it better are welcome</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ron de Bruin</title>
		<link>http://www.dailydoseofexcel.com/archives/2008/01/31/dealing-with-ribbons-and-menus-avoiding-two-versions/#comment-30414</link>
		<dc:creator>Ron de Bruin</dc:creator>
		<pubDate>Tue, 05 Feb 2008 00:05:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1805#comment-30414</guid>
		<description>&lt;p&gt;I add my first test example for the dynamic menu.(Example 3)&lt;br&gt;
&lt;a href=&quot;http://www.rondebruin.nl/compatiblemenu.htm&quot; rel=&quot;nofollow&quot;&gt;http://www.rondebruin.nl/compatiblemenu.htm&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The xml string for the menu is in a VBA module.&lt;/p&gt;
&lt;p&gt;Suggestions are welcome&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I add my first test example for the dynamic menu.(Example 3)<br />
<a href="http://www.rondebruin.nl/compatiblemenu.htm" rel="nofollow">http://www.rondebruin.nl/compatiblemenu.htm</a></p>
<p>The xml string for the menu is in a VBA module.</p>
<p>Suggestions are welcome</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ron de Bruin</title>
		<link>http://www.dailydoseofexcel.com/archives/2008/01/31/dealing-with-ribbons-and-menus-avoiding-two-versions/#comment-30403</link>
		<dc:creator>Ron de Bruin</dc:creator>
		<pubDate>Mon, 04 Feb 2008 17:03:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1805#comment-30403</guid>
		<description>&lt;p&gt;Hi Tushar&lt;/p&gt;
&lt;p&gt;&gt; but have you considered using a RibbonX Dynamic Menu&lt;br&gt;
That was the first thing I test with the XML string also in the VBA.&lt;br&gt;
I like it but for most users it is to difficult to change so I replace it&lt;br&gt;
for the example with the Table menu.&lt;/p&gt;
&lt;p&gt;The way you do it depend on the kind of users I think.&lt;/p&gt;
&lt;p&gt;I will add the example with the dynamic menu also to the page this week&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi Tushar</p>
<p>&gt; but have you considered using a RibbonX Dynamic Menu<br />
That was the first thing I test with the XML string also in the VBA.<br />
I like it but for most users it is to difficult to change so I replace it<br />
for the example with the Table menu.</p>
<p>The way you do it depend on the kind of users I think.</p>
<p>I will add the example with the dynamic menu also to the page this week</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon Peltier</title>
		<link>http://www.dailydoseofexcel.com/archives/2008/01/31/dealing-with-ribbons-and-menus-avoiding-two-versions/#comment-30398</link>
		<dc:creator>Jon Peltier</dc:creator>
		<pubDate>Mon, 04 Feb 2008 13:47:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1805#comment-30398</guid>
		<description>&lt;p&gt;&quot;If [the user is running XL12], it asks the user to load the XLAM version.&quot;&lt;/p&gt;
&lt;p&gt;This might be asking too much of many users. This is what&#039;s nice about the approaches Ron describes. If the user is running XL12, the lightweight XLAM is loaded in addition to the XLA (my variation just does the command bar stuff on the Add-Ins tab if the XLAM isn&#039;t found). So there&#039;s one workbook with the code and the command bar infrastructure, and another very small workbook with the ribbon code. The user doesn&#039;t have to do anything special as the installer drops them both into the appropriate directory.&lt;/p&gt;
&lt;p&gt;An alternative would be to have the installer only install the add-in that matches the installed version of Office.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>&#8220;If [the user is running XL12], it asks the user to load the XLAM version.&#8221;</p>
<p>This might be asking too much of many users. This is what&#8217;s nice about the approaches Ron describes. If the user is running XL12, the lightweight XLAM is loaded in addition to the XLA (my variation just does the command bar stuff on the Add-Ins tab if the XLAM isn&#8217;t found). So there&#8217;s one workbook with the code and the command bar infrastructure, and another very small workbook with the ribbon code. The user doesn&#8217;t have to do anything special as the installer drops them both into the appropriate directory.</p>
<p>An alternative would be to have the installer only install the add-in that matches the installed version of Office.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MacroMan</title>
		<link>http://www.dailydoseofexcel.com/archives/2008/01/31/dealing-with-ribbons-and-menus-avoiding-two-versions/#comment-30385</link>
		<dc:creator>MacroMan</dc:creator>
		<pubDate>Sun, 03 Feb 2008 22:59:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1805#comment-30385</guid>
		<description>&lt;p&gt;Eli is NOT adopted!  ...Go Giants!!!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Eli is NOT adopted!  &#8230;Go Giants!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tushar Mehta</title>
		<link>http://www.dailydoseofexcel.com/archives/2008/01/31/dealing-with-ribbons-and-menus-avoiding-two-versions/#comment-30366</link>
		<dc:creator>Tushar Mehta</dc:creator>
		<pubDate>Sun, 03 Feb 2008 02:34:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1805#comment-30366</guid>
		<description>&lt;p&gt;Your approach is interesting.  I haven&#039;t analyzed the pros and cons in any detail, but have you considered using a RibbonX Dynamic Menu instead of a commandbar?&lt;/p&gt;
&lt;p&gt;Jim Rech&#039;s approach is one that I believe Jon also uses.  It&#039;s a variant of one I shared some time ago in this blog (Teaching an old dog new tricks: A 2007 skin for older add-ins -- &lt;a href=&quot;http://www.dailydoseofexcel.com/archives/2007/04/01/teaching-an-old-dog-new-tricks-a-2007-skin-for-older-add-ins/&quot; rel=&quot;nofollow&quot;&gt;http://www.dailydoseofexcel.com/archives/2007/04/01/teaching-an-old-dog-new-tricks-a-2007-skin-for-older-add-ins/&lt;/a&gt;)  including some suggestions on how to simplify maintenance of the architecture.&lt;/p&gt;
&lt;p&gt;That said, the final model that I have adopted is different from all previous suggestions.  Since I started experimenting with RibbonX I&#039;ve tried and discarded many architectures all aimed at providing a easy way to provide support for multiple versions of Excel including 2007.&lt;/p&gt;
&lt;p&gt;I have a single source file, a XLSM file.  It contains the RibbonX material.  I &quot;compile&quot; this file as a XLA add-in and a XLAM add-in.  There is code in the subroutine that creates a menu that checks if it is running on XL12 (or later) and if it is the XLA file.  If so, it asks the user to load the XLAM version.&lt;/p&gt;
&lt;p&gt;In the event the user loads the XLA add-in in XL20007, I first tried to alert her/him and then tried to load the correct one and unload the wrong one.  Unfortunately, as in any number of earlier versions of Excel, doing so programmatically is still a crapshoot in that it works sometimes and doesn&#039;t other times.  So, I settled to just alerting the user and asking her/him to do the correct thing.  It still ties in with my philosophy that users are smart enough to do the right thing just as long as it&#039;s explained properly.&lt;/p&gt;
&lt;p&gt;So, bottom line.  Single source file that contains *both* the XML and the code.  Two compiled add-ins, one for 2007+ and one for 2003-.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Your approach is interesting.  I haven&#8217;t analyzed the pros and cons in any detail, but have you considered using a RibbonX Dynamic Menu instead of a commandbar?</p>
<p>Jim Rech&#8217;s approach is one that I believe Jon also uses.  It&#8217;s a variant of one I shared some time ago in this blog (Teaching an old dog new tricks: A 2007 skin for older add-ins &#8212; <a href="http://www.dailydoseofexcel.com/archives/2007/04/01/teaching-an-old-dog-new-tricks-a-2007-skin-for-older-add-ins/" rel="nofollow">http://www.dailydoseofexcel.com/archives/2007/04/01/teaching-an-old-dog-new-tricks-a-2007-skin-for-older-add-ins/</a>)  including some suggestions on how to simplify maintenance of the architecture.</p>
<p>That said, the final model that I have adopted is different from all previous suggestions.  Since I started experimenting with RibbonX I&#8217;ve tried and discarded many architectures all aimed at providing a easy way to provide support for multiple versions of Excel including 2007.</p>
<p>I have a single source file, a XLSM file.  It contains the RibbonX material.  I &#8220;compile&#8221; this file as a XLA add-in and a XLAM add-in.  There is code in the subroutine that creates a menu that checks if it is running on XL12 (or later) and if it is the XLA file.  If so, it asks the user to load the XLAM version.</p>
<p>In the event the user loads the XLA add-in in XL20007, I first tried to alert her/him and then tried to load the correct one and unload the wrong one.  Unfortunately, as in any number of earlier versions of Excel, doing so programmatically is still a crapshoot in that it works sometimes and doesn&#8217;t other times.  So, I settled to just alerting the user and asking her/him to do the correct thing.  It still ties in with my philosophy that users are smart enough to do the right thing just as long as it&#8217;s explained properly.</p>
<p>So, bottom line.  Single source file that contains *both* the XML and the code.  Two compiled add-ins, one for 2007+ and one for 2003-.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

