<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://excelusergroup.org/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>Nick Hodge&amp;#39;s Excel Blog - All Comments</title><link>http://excelusergroup.org/blogs/nickhodge/default.aspx</link><description>A blog of articles, posts and pages discussing topics around Excel.  Basic, Intermediate and Advanced</description><dc:language>en</dc:language><generator>CommunityServer 2008 (Build: 30417.1769)</generator><item><title>re: Ribbon, Step-by-Step. Part 3 (The Office Menu and Re-purposing)</title><link>http://excelusergroup.org/blogs/nickhodge/archive/2008/02/03/ribbon-step-by-step-part-3-the-office-menu-and-re-purposing.aspx#2400</link><pubDate>Tue, 01 Jul 2008 08:13:37 GMT</pubDate><guid isPermaLink="false">afdc21cc-1618-45b1-a950-e47bb94e6e94:2400</guid><dc:creator>roryfynn</dc:creator><description>&lt;p&gt;Nick... That is perfect. &amp;nbsp;Thank you.&lt;/p&gt;
&lt;p&gt;I had found another workaround using group policy and your remove ribbon macro. &amp;nbsp;Group policy was essential to prevent keyboard shortcuts too.&lt;/p&gt;
&lt;p&gt;Thanks again.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Rory&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://excelusergroup.org/aggbug.aspx?PostID=2400" width="1" height="1"&gt;</description></item><item><title>re: Ribbon, Step-by-Step. Part 3 (The Office Menu and Re-purposing)</title><link>http://excelusergroup.org/blogs/nickhodge/archive/2008/02/03/ribbon-step-by-step-part-3-the-office-menu-and-re-purposing.aspx#2398</link><pubDate>Mon, 30 Jun 2008 22:01:00 GMT</pubDate><guid isPermaLink="false">afdc21cc-1618-45b1-a950-e47bb94e6e94:2398</guid><dc:creator>Nick Hodge</dc:creator><description>&lt;p&gt;Rory&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t think it can be hidden, but it can be disabled...any good?&lt;/p&gt;
&lt;p&gt;&amp;lt;customUI xmlns=&amp;quot;&lt;a rel="nofollow" target="_new" href="http://schemas.microsoft.com/office/2006/01/customui&amp;quot;&amp;gt;"&gt;schemas.microsoft.com/.../customui&amp;quot;&amp;gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;	&amp;lt;commands&amp;gt;&lt;/p&gt;
&lt;p&gt;		&amp;lt;command idMso=&amp;quot;ApplicationOptionsDialog&amp;quot; enabled=&amp;quot;false&amp;quot;/&amp;gt;&lt;/p&gt;
&lt;p&gt;	&amp;lt;/commands&amp;gt;&lt;/p&gt;
&lt;p&gt;	&amp;lt;ribbon startFromScratch=&amp;quot;true&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p&gt;	&amp;lt;/ribbon&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;/customUI&amp;gt;&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://excelusergroup.org/aggbug.aspx?PostID=2398" width="1" height="1"&gt;</description></item><item><title>re: Ribbon, Step-by-Step. Part 3 (The Office Menu and Re-purposing)</title><link>http://excelusergroup.org/blogs/nickhodge/archive/2008/02/03/ribbon-step-by-step-part-3-the-office-menu-and-re-purposing.aspx#2392</link><pubDate>Mon, 30 Jun 2008 14:44:08 GMT</pubDate><guid isPermaLink="false">afdc21cc-1618-45b1-a950-e47bb94e6e94:2392</guid><dc:creator>roryfynn</dc:creator><description>&lt;p&gt;Hi Nick,&lt;/p&gt;
&lt;p&gt;Firstly thanks for this series of great articles; much appreciated.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve got an interesting application for customisation... securing a remote/citrix instance. &amp;nbsp;I need to allow the user to view the spreadsheet in all it&amp;#39;s glory ie formulae and data but there is absolutely no need for anything else.&lt;/p&gt;
&lt;p&gt;So I&amp;#39;ve started from scratch and then disabled the remaining buttons in the office menu. &amp;nbsp;However... the last thing I need to do before achieving mission accomplished status is to get rid of or to disable the &amp;quot;excel options&amp;quot; button.&lt;/p&gt;
&lt;p&gt;Do you know how I can achieve this in the customUI XML or in macros? &amp;nbsp;I tried to look for a reference to the button but haven&amp;#39;t been successful.&lt;/p&gt;
&lt;p&gt;Any immediate help would be greatly appreciated as this is time-critical my end.&lt;/p&gt;
&lt;p&gt;Thanks so much&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Rory&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://excelusergroup.org/aggbug.aspx?PostID=2392" width="1" height="1"&gt;</description></item><item><title>vba insert rows columns</title><link>http://excelusergroup.org/blogs/nickhodge/archive/2008/02/14/ribbon-step-by-step-part-4-exploring-other-controls.aspx#2359</link><pubDate>Mon, 23 Jun 2008 13:29:16 GMT</pubDate><guid isPermaLink="false">afdc21cc-1618-45b1-a950-e47bb94e6e94:2359</guid><dc:creator>vba insert rows columns</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;vba insert rows columns&lt;/p&gt;
&lt;img src="http://excelusergroup.org/aggbug.aspx?PostID=2359" width="1" height="1"&gt;</description></item><item><title>open xlsx files in excel 2000</title><link>http://excelusergroup.org/blogs/nickhodge/archive/2008/01/30/ribbon-step-by-step-part-1-file-formats.aspx#2226</link><pubDate>Sat, 31 May 2008 10:55:00 GMT</pubDate><guid isPermaLink="false">afdc21cc-1618-45b1-a950-e47bb94e6e94:2226</guid><dc:creator>open xlsx files in excel 2000</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;open xlsx files in excel 2000&lt;/p&gt;
&lt;img src="http://excelusergroup.org/aggbug.aspx?PostID=2226" width="1" height="1"&gt;</description></item><item><title>re: Ribbon, Step-by-Step. Part 3 (The Office Menu and Re-purposing)</title><link>http://excelusergroup.org/blogs/nickhodge/archive/2008/02/03/ribbon-step-by-step-part-3-the-office-menu-and-re-purposing.aspx#2009</link><pubDate>Sun, 04 May 2008 09:51:58 GMT</pubDate><guid isPermaLink="false">afdc21cc-1618-45b1-a950-e47bb94e6e94:2009</guid><dc:creator>Nick Hodge</dc:creator><description>&lt;p&gt;Who&amp;#39;s Tim?&lt;/p&gt;
&lt;p&gt;Excel internally knows when it is in edit mode and I know no way of replicating that using ribbonX.&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t know if that is simply a ribbon issue. I have never known a way in VBA of ascertaining if excel is in &amp;#39;edit&amp;#39; mode.&lt;/p&gt;
&lt;p&gt;Sorry&lt;/p&gt;
&lt;p&gt;Nick&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://excelusergroup.org/aggbug.aspx?PostID=2009" width="1" height="1"&gt;</description></item><item><title>re: Summit in Seattle</title><link>http://excelusergroup.org/blogs/nickhodge/archive/2008/04/14/summit-in-seattle.aspx#1986</link><pubDate>Thu, 01 May 2008 10:12:26 GMT</pubDate><guid isPermaLink="false">afdc21cc-1618-45b1-a950-e47bb94e6e94:1986</guid><dc:creator>xcelion</dc:creator><description>&lt;p&gt;Looking forward for pictures of excel gurus at Summit :)&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://excelusergroup.org/aggbug.aspx?PostID=1986" width="1" height="1"&gt;</description></item><item><title>re: Ribbon, Step-by-Step. Part 3 (The Office Menu and Re-purposing)</title><link>http://excelusergroup.org/blogs/nickhodge/archive/2008/02/03/ribbon-step-by-step-part-3-the-office-menu-and-re-purposing.aspx#1965</link><pubDate>Mon, 28 Apr 2008 23:25:32 GMT</pubDate><guid isPermaLink="false">afdc21cc-1618-45b1-a950-e47bb94e6e94:1965</guid><dc:creator>Franc</dc:creator><description>&lt;p&gt;Hi Tim, I hope you can help.&lt;/p&gt;
&lt;p&gt;I noticed that when I type in a worksheet most of the buttons on the ribbon get disabled(grayed out), once I move out of the cell I&amp;#39;m typing in, the disabled buttons get enabled again. I want to do that to my custom ribbon. What code do I need to use? How can I tell my custom ribbon to disable buttons when I type?&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve searched on the internet but haven&amp;#39;t found the answer.&lt;/p&gt;
&lt;p&gt;Franc&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://excelusergroup.org/aggbug.aspx?PostID=1965" width="1" height="1"&gt;</description></item><item><title>re: Ribbon, Step-by-Step. Part 4 (Exploring Other Controls)</title><link>http://excelusergroup.org/blogs/nickhodge/archive/2008/02/14/ribbon-step-by-step-part-4-exploring-other-controls.aspx#1888</link><pubDate>Wed, 23 Apr 2008 00:06:02 GMT</pubDate><guid isPermaLink="false">afdc21cc-1618-45b1-a950-e47bb94e6e94:1888</guid><dc:creator>Agus Surachman</dc:creator><description>&lt;p&gt;Nice.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m waiting for the last part eagerly. :)&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://excelusergroup.org/aggbug.aspx?PostID=1888" width="1" height="1"&gt;</description></item><item><title>re: Ribbon, Step-by-Step. Part 4 (Exploring Other Controls)</title><link>http://excelusergroup.org/blogs/nickhodge/archive/2008/02/14/ribbon-step-by-step-part-4-exploring-other-controls.aspx#1884</link><pubDate>Tue, 22 Apr 2008 12:46:16 GMT</pubDate><guid isPermaLink="false">afdc21cc-1618-45b1-a950-e47bb94e6e94:1884</guid><dc:creator>Nick Hodge</dc:creator><description>&lt;p&gt;Agus&lt;/p&gt;
&lt;p&gt;It is sort of possible to do stuff with ribbon controls on the fly. I will need to get around to writing the last bit.&lt;/p&gt;
&lt;p&gt;The theory is this:&lt;/p&gt;
&lt;p&gt;You use an onLoad attribute in you customUI declaration like so&lt;/p&gt;
&lt;p&gt;&amp;lt;customUI xmlns=&amp;quot;&lt;a rel="nofollow" target="_new" href="http://schemas.microsoft.com/office/2006/01/customui&amp;quot;"&gt;schemas.microsoft.com/.../customui&amp;quot;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt; onLoad=&amp;quot;myRibbon_onLoad&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p&gt;You will notice when generating the callback for this it will pass you a ribbon object. In this callback, in a standard VBA module, capture this ribbon object and assign it to a global variable (outside and above any procedures in the module). e.g&lt;/p&gt;
&lt;p&gt;Public myRibbon As IRibbonUI&lt;/p&gt;
&lt;p&gt;Sub myRibbon_onLoad(ribbon As IRibbonUI)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;Set myRibbon = ribbon&lt;/p&gt;
&lt;p&gt;End Sub&lt;/p&gt;
&lt;p&gt;Now you have the ribbon captured and can use it's Invalidate property to force a rebuild (You can rebuild an inividual control using it's InvalidateControl property also and pass in a controlID)&lt;/p&gt;
&lt;p&gt;So, for example, you may trigger the Invalidate from a button_click() event on a ribbon control and then use any of the 'get' attributes (getImage, getLabel, etc) to rebuild other controls.&lt;/p&gt;
&lt;p&gt;That is probably as clear as mud, so I will try and get around to the last part this weekend. I may even put some videos together :-)&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://excelusergroup.org/aggbug.aspx?PostID=1884" width="1" height="1"&gt;</description></item><item><title>re: Ribbon, Step-by-Step. Part 4 (Exploring Other Controls)</title><link>http://excelusergroup.org/blogs/nickhodge/archive/2008/02/14/ribbon-step-by-step-part-4-exploring-other-controls.aspx#1883</link><pubDate>Tue, 22 Apr 2008 10:57:08 GMT</pubDate><guid isPermaLink="false">afdc21cc-1618-45b1-a950-e47bb94e6e94:1883</guid><dc:creator>Agus Surachman</dc:creator><description>&lt;p&gt;Nick.&lt;/p&gt;
&lt;p&gt;Is that possible to change the content of Ribbon on-the-fly (dynamically)?&lt;/p&gt;
&lt;p&gt;For example the menu button can be added or deleted conditionally, and also other properties such as the picture.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://excelusergroup.org/aggbug.aspx?PostID=1883" width="1" height="1"&gt;</description></item><item><title>re: Ribbon, Step-by-Step. Part 4 (Exploring Other Controls)</title><link>http://excelusergroup.org/blogs/nickhodge/archive/2008/02/14/ribbon-step-by-step-part-4-exploring-other-controls.aspx#1879</link><pubDate>Tue, 22 Apr 2008 00:40:22 GMT</pubDate><guid isPermaLink="false">afdc21cc-1618-45b1-a950-e47bb94e6e94:1879</guid><dc:creator>Agus Surachman</dc:creator><description>&lt;p&gt;Thank you Nick.&lt;/p&gt;
&lt;p&gt;Fantastic&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://excelusergroup.org/aggbug.aspx?PostID=1879" width="1" height="1"&gt;</description></item><item><title>re: Ribbon, Step-by-Step. Part 4 (Exploring Other Controls)</title><link>http://excelusergroup.org/blogs/nickhodge/archive/2008/02/14/ribbon-step-by-step-part-4-exploring-other-controls.aspx#1871</link><pubDate>Mon, 21 Apr 2008 12:44:39 GMT</pubDate><guid isPermaLink="false">afdc21cc-1618-45b1-a950-e47bb94e6e94:1871</guid><dc:creator>Nick Hodge</dc:creator><description>&lt;p&gt;Agus&lt;/p&gt;
&lt;p&gt;This would be a splitButton and addressed like so&lt;/p&gt;
&lt;p&gt;		&amp;lt;splitButton id=&amp;quot;split1&amp;quot; size=&amp;quot;large&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p&gt;			&amp;lt;button id=&amp;quot;buttonSplit&amp;quot; imageMso=&amp;quot;PropertySheet&amp;quot; label=&amp;quot;Click Here&amp;quot;/&amp;gt;&lt;/p&gt;
&lt;p&gt;			&amp;lt;menu id=&amp;quot;splitMenu&amp;quot; itemSize=&amp;quot;large&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p&gt;				&amp;lt;button id=&amp;quot;splitbutt1&amp;quot; imageMso=&amp;quot;AnimationAudio&amp;quot; label=&amp;quot;Turn up the volume&amp;quot; onAction=&amp;quot;TurnUpVol&amp;quot;/&amp;gt;&lt;/p&gt;
&lt;p&gt;				&amp;lt;button id=&amp;quot;splitbutt2&amp;quot; imageMso=&amp;quot;AutoDial&amp;quot; label=&amp;quot;Make a call&amp;quot; onAction=&amp;quot;MakeACall&amp;quot;/&amp;gt;&lt;/p&gt;
&lt;p&gt;				&amp;lt;button id=&amp;quot;splitbutt3&amp;quot; imageMso=&amp;quot;MarkAsUnread&amp;quot; label=&amp;quot;Put it in the post&amp;quot; onAction=&amp;quot;PutInPost&amp;quot;/&amp;gt;&lt;/p&gt;
&lt;p&gt;				&amp;lt;!--This is a sub-menu--&amp;gt;&lt;/p&gt;
&lt;p&gt;				&amp;lt;menu id=&amp;quot;submenu1&amp;quot; label=&amp;quot;Extra Items&amp;quot; imageMso=&amp;quot;TentativeAcceptInvitation&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p&gt;					&amp;lt;button idMso=&amp;quot;FileOpen&amp;quot;/&amp;gt;&lt;/p&gt;
&lt;p&gt;					&amp;lt;button idMso=&amp;quot;FilePrintPreview&amp;quot;/&amp;gt;&lt;/p&gt;
&lt;p&gt;					&amp;lt;button idMso=&amp;quot;FilePrintQuick&amp;quot;/&amp;gt;&lt;/p&gt;
&lt;p&gt;				&amp;lt;/menu&amp;gt;&lt;/p&gt;
&lt;p&gt;			&amp;lt;/menu&amp;gt;&lt;/p&gt;
&lt;p&gt;		&amp;lt;/splitButton&amp;gt;&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://excelusergroup.org/aggbug.aspx?PostID=1871" width="1" height="1"&gt;</description></item><item><title>re: Questions on customising the ribbon</title><link>http://excelusergroup.org/blogs/nickhodge/archive/2008/03/02/questions-on-customising-the-ribbon.aspx#1870</link><pubDate>Mon, 21 Apr 2008 12:32:25 GMT</pubDate><guid isPermaLink="false">afdc21cc-1618-45b1-a950-e47bb94e6e94:1870</guid><dc:creator>pk</dc:creator><description>&lt;p&gt;So the way to make code available to all workbooks is through an add-in (xlam), Nick, can you do a page on how to create, implement, and distribute an xlam?&lt;/p&gt;
&lt;p&gt;Thanks so much for all the time you&amp;#39;ve put into this it has been immensely helpful.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://excelusergroup.org/aggbug.aspx?PostID=1870" width="1" height="1"&gt;</description></item><item><title>re: Ribbon, Step-by-Step. Part 4 (Exploring Other Controls)</title><link>http://excelusergroup.org/blogs/nickhodge/archive/2008/02/14/ribbon-step-by-step-part-4-exploring-other-controls.aspx#1862</link><pubDate>Mon, 21 Apr 2008 00:43:36 GMT</pubDate><guid isPermaLink="false">afdc21cc-1618-45b1-a950-e47bb94e6e94:1862</guid><dc:creator>Agus Surachman</dc:creator><description>&lt;p&gt;Nick.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m wondering how to create button which has stype like Macro button or Paste button?&lt;/p&gt;
&lt;p&gt;It appears as one button but when we hover it, it apprears two seperate button.&lt;/p&gt;
&lt;p&gt;Please your help.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://excelusergroup.org/aggbug.aspx?PostID=1862" width="1" height="1"&gt;</description></item></channel></rss>