<?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: Adding RibbonX code to an Office OpenXML file using VBA</title>
	<atom:link href="http://www.dailydoseofexcel.com/archives/2009/05/18/adding-ribbonx-code-to-an-office-openxml-file-using-vba/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dailydoseofexcel.com/archives/2009/05/18/adding-ribbonx-code-to-an-office-openxml-file-using-vba/</link>
	<description>Daily posts of Excel tips…and other stuff</description>
	<lastBuildDate>Thu, 09 Feb 2012 23:42:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Jan Karel Pieterse</title>
		<link>http://www.dailydoseofexcel.com/archives/2009/05/18/adding-ribbonx-code-to-an-office-openxml-file-using-vba/#comment-39456</link>
		<dc:creator>Jan Karel Pieterse</dc:creator>
		<pubDate>Fri, 22 May 2009 18:30:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=2490#comment-39456</guid>
		<description>&lt;p&gt;Ah, And there I was, just echoing Stephen&#039;s remarks. From memory as well.&lt;br&gt;
OK, to recap: Using the code I demonstrated, you can have your addin create it&#039;s own accompanying xlam with just ribbonX code inside it. The ribbonx code in the satelite xlam calls VBA code in the parent addin.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Ah, And there I was, just echoing Stephen&#8217;s remarks. From memory as well.<br />
OK, to recap: Using the code I demonstrated, you can have your addin create it&#8217;s own accompanying xlam with just ribbonX code inside it. The ribbonx code in the satelite xlam calls VBA code in the parent addin.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ken Puls</title>
		<link>http://www.dailydoseofexcel.com/archives/2009/05/18/adding-ribbonx-code-to-an-office-openxml-file-using-vba/#comment-39433</link>
		<dc:creator>Ken Puls</dc:creator>
		<pubDate>Thu, 21 May 2009 15:42:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=2490#comment-39433</guid>
		<description>&lt;p&gt;Thanks Stephen!  I can see where it would have a use, although I suspect that most people who actually bit the bullet and customized their ribbon would actually want to expand to include their own procedures anyway.  Maybe that&#039;s why it got dropped.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Thanks Stephen!  I can see where it would have a use, although I suspect that most people who actually bit the bullet and customized their ribbon would actually want to expand to include their own procedures anyway.  Maybe that&#8217;s why it got dropped.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephen Bullen</title>
		<link>http://www.dailydoseofexcel.com/archives/2009/05/18/adding-ribbonx-code-to-an-office-openxml-file-using-vba/#comment-39431</link>
		<dc:creator>Stephen Bullen</dc:creator>
		<pubDate>Thu, 21 May 2009 09:12:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=2490#comment-39431</guid>
		<description>&lt;p&gt;Ken: My suggestion was from memory - using an xlax format so it wasn&#039;t sensitive to the active workbook, but also didn&#039;t have any macro security prompt issues. That was during the original beta cycle when I was playing around with the Ribbon, so maybe it was dropped somewhere along the way.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Ken: My suggestion was from memory &#8211; using an xlax format so it wasn&#8217;t sensitive to the active workbook, but also didn&#8217;t have any macro security prompt issues. That was during the original beta cycle when I was playing around with the Ribbon, so maybe it was dropped somewhere along the way.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ken Puls</title>
		<link>http://www.dailydoseofexcel.com/archives/2009/05/18/adding-ribbonx-code-to-an-office-openxml-file-using-vba/#comment-39429</link>
		<dc:creator>Ken Puls</dc:creator>
		<pubDate>Thu, 21 May 2009 05:02:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=2490#comment-39429</guid>
		<description>&lt;p&gt;@Harald:  Theoretically, if we were just trying to move built-in Microsoft tabs &amp; controls around to make the UI more efficient for our use, we wouldn&#039;t need a macro enabled file format as no VBA would be needed.  (Since the XML doesn&#039;t count as a macro.)  As soon as we start adding our own routines to the add-in though, we&#039;d be forced to use an xlam format to save the code.&lt;/p&gt;
&lt;p&gt;@Stephen/Jan Karel:  Was that meant to be XLAM, or did you really mean XLAX?  I can&#039;t see any option, either through the UI or code that supports an XLAX file format.  My original vision was to do exactly what you said, but via an XLAM file, with any procedures &quot;calling home&quot; to a central handler.  This should allow the creation of a table driven UI for all controls.  It suffers the unload/unzip/modify/re-zip/re-open round trip time, but at least we can actually make it work.&lt;/p&gt;
&lt;p&gt;@fzz:  I&#039;m not quite sure how this makes an additional security concern.  We can already create other file formats (non Excel) on the fly and run them.  With regards to this specific portion, we&#039;re actually looking at creating XML for the customUI which runs, trusted location or untrusted.  The VBA is a different matter, but XML is not seen as potentially vicious, I guess.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>@Harald:  Theoretically, if we were just trying to move built-in Microsoft tabs &amp; controls around to make the UI more efficient for our use, we wouldn&#8217;t need a macro enabled file format as no VBA would be needed.  (Since the XML doesn&#8217;t count as a macro.)  As soon as we start adding our own routines to the add-in though, we&#8217;d be forced to use an xlam format to save the code.</p>
<p>@Stephen/Jan Karel:  Was that meant to be XLAM, or did you really mean XLAX?  I can&#8217;t see any option, either through the UI or code that supports an XLAX file format.  My original vision was to do exactly what you said, but via an XLAM file, with any procedures &#8220;calling home&#8221; to a central handler.  This should allow the creation of a table driven UI for all controls.  It suffers the unload/unzip/modify/re-zip/re-open round trip time, but at least we can actually make it work.</p>
<p>@fzz:  I&#8217;m not quite sure how this makes an additional security concern.  We can already create other file formats (non Excel) on the fly and run them.  With regards to this specific portion, we&#8217;re actually looking at creating XML for the customUI which runs, trusted location or untrusted.  The VBA is a different matter, but XML is not seen as potentially vicious, I guess.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Harald Staff</title>
		<link>http://www.dailydoseofexcel.com/archives/2009/05/18/adding-ribbonx-code-to-an-office-openxml-file-using-vba/#comment-39424</link>
		<dc:creator>Harald Staff</dc:creator>
		<pubDate>Wed, 20 May 2009 19:33:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=2490#comment-39424</guid>
		<description>&lt;p&gt;Oki,I can see that function in this scenario, a carrier of xml instructions. But in general, what would be the purpose of an xlax file and the file format?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Oki,I can see that function in this scenario, a carrier of xml instructions. But in general, what would be the purpose of an xlax file and the file format?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jan Karel Pieterse</title>
		<link>http://www.dailydoseofexcel.com/archives/2009/05/18/adding-ribbonx-code-to-an-office-openxml-file-using-vba/#comment-39423</link>
		<dc:creator>Jan Karel Pieterse</dc:creator>
		<pubDate>Wed, 20 May 2009 18:43:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=2490#comment-39423</guid>
		<description>&lt;p&gt;After inserting the RibbonX code and loading it, it shows the Ribbon Customisations. The customisation XML must ensure the callbacks point to your &quot;main&quot; addin, which contains all code.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>After inserting the RibbonX code and loading it, it shows the Ribbon Customisations. The customisation XML must ensure the callbacks point to your &#8220;main&#8221; addin, which contains all code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Harald Staff</title>
		<link>http://www.dailydoseofexcel.com/archives/2009/05/18/adding-ribbonx-code-to-an-office-openxml-file-using-vba/#comment-39421</link>
		<dc:creator>Harald Staff</dc:creator>
		<pubDate>Wed, 20 May 2009 17:53:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=2490#comment-39421</guid>
		<description>&lt;p&gt;Apologies for my ignorance here. An addin without VBA does what?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Apologies for my ignorance here. An addin without VBA does what?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jan Karel Pieterse</title>
		<link>http://www.dailydoseofexcel.com/archives/2009/05/18/adding-ribbonx-code-to-an-office-openxml-file-using-vba/#comment-39407</link>
		<dc:creator>Jan Karel Pieterse</dc:creator>
		<pubDate>Tue, 19 May 2009 19:11:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=2490#comment-39407</guid>
		<description>&lt;p&gt;Stephen: Excellent suggestion!&lt;/p&gt;
&lt;p&gt;fzz: an xlax is an Excel 2007 addin without VBA (as opposed to an xlam, which is an addin with code).&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Stephen: Excellent suggestion!</p>
<p>fzz: an xlax is an Excel 2007 addin without VBA (as opposed to an xlam, which is an addin with code).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fzz</title>
		<link>http://www.dailydoseofexcel.com/archives/2009/05/18/adding-ribbonx-code-to-an-office-openxml-file-using-vba/#comment-39405</link>
		<dc:creator>fzz</dc:creator>
		<pubDate>Tue, 19 May 2009 18:50:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=2490#comment-39405</guid>
		<description>&lt;p&gt;I may be being dense. Is there an XLAX file type that&#039;s distinct from XLSX and XLAM file types? That is, is there a file type specifically for add-ins without VBA modules?&lt;/p&gt;
&lt;p&gt;My concern is security. Using an XLAM or XLSM file to create other files on the fly that could in turn indirectly call arbitrary procedures would introduce a new attack vector for malware. I wouldn&#039;t want any code I hadn&#039;t reviewed creating or modifying files in trusted locations. However, if the ad hoc UI files were created in untrusted locations, there could be security snags when loading those files. I&#039;m assuming that files created by code can&#039;t be certified automatically. Even if they could, I doubt that would be a good thing.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I may be being dense. Is there an XLAX file type that&#8217;s distinct from XLSX and XLAM file types? That is, is there a file type specifically for add-ins without VBA modules?</p>
<p>My concern is security. Using an XLAM or XLSM file to create other files on the fly that could in turn indirectly call arbitrary procedures would introduce a new attack vector for malware. I wouldn&#8217;t want any code I hadn&#8217;t reviewed creating or modifying files in trusted locations. However, if the ad hoc UI files were created in untrusted locations, there could be security snags when loading those files. I&#8217;m assuming that files created by code can&#8217;t be certified automatically. Even if they could, I doubt that would be a good thing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ron de Bruin</title>
		<link>http://www.dailydoseofexcel.com/archives/2009/05/18/adding-ribbonx-code-to-an-office-openxml-file-using-vba/#comment-39401</link>
		<dc:creator>Ron de Bruin</dc:creator>
		<pubDate>Tue, 19 May 2009 14:58:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=2490#comment-39401</guid>
		<description>&lt;p&gt;Hi Stephen&lt;/p&gt;
&lt;p&gt;Good suggestion&lt;br&gt;
Yes this will work good.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi Stephen</p>
<p>Good suggestion<br />
Yes this will work good.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

