<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.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>Handling Sort and Filter Events in Excel (Navneet Gupta)</title><link>http://blogs.msdn.com/b/vsto/archive/2010/05/03/handling-sort-and-filter-events-in-excel-navneet-gupta.aspx</link><description>Recently I helped two customers that were trying to solve this problem. They wanted to get notifications whenever Excel sorted or filtered data. This is not as easy as it sounds because Excel does not raise any events for sorting and filtering. I found</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Handling Sort and Filter Events in Excel (Navneet Gupta)</title><link>http://blogs.msdn.com/b/vsto/archive/2010/05/03/handling-sort-and-filter-events-in-excel-navneet-gupta.aspx#10147597</link><pubDate>Wed, 30 Mar 2011 08:35:30 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10147597</guid><dc:creator>babak</dc:creator><description>&lt;p&gt;Hi Navneet,&lt;/p&gt;
&lt;p&gt;How could I implement the right mouse button on a Ribbonbutton. In Office 2007/2010 I trigger an action when I click the left mouse button on a Ribbon button. With the right mouse button I have a context/ Dropdown menu. How I use my own dropdown or popup menu on a specific Ribbon button when I click the right button on it?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Babak&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10147597" width="1" height="1"&gt;</description></item><item><title>re: Handling Sort and Filter Events in Excel (Navneet Gupta)</title><link>http://blogs.msdn.com/b/vsto/archive/2010/05/03/handling-sort-and-filter-events-in-excel-navneet-gupta.aspx#10082566</link><pubDate>Fri, 29 Oct 2010 01:07:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10082566</guid><dc:creator>Lee</dc:creator><description>&lt;p&gt;Hi Navneet,&lt;/p&gt;
&lt;p&gt;Thanks very much for the response. Yes, we have hooked the SortAscendingExcel and SortDescendingExcel commands. We&amp;#39;ve tried hooking the ribbon commands and also the Office 2003 command bars. None of those hooks seem to catch the sort operation when it&amp;#39;s initiated from within the auto-filter dropdown.&lt;/p&gt;
&lt;p&gt;Any other ideas?&lt;/p&gt;
&lt;p&gt;thanks,&lt;/p&gt;
&lt;p&gt;Lee&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10082566" width="1" height="1"&gt;</description></item><item><title>re: Handling Sort and Filter Events in Excel (Navneet Gupta)</title><link>http://blogs.msdn.com/b/vsto/archive/2010/05/03/handling-sort-and-filter-events-in-excel-navneet-gupta.aspx#10081669</link><pubDate>Wed, 27 Oct 2010 18:34:26 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10081669</guid><dc:creator>VSTOTeam</dc:creator><description>&lt;p&gt;Hi Lee,&lt;/p&gt;
&lt;p&gt;Did you look at SortAscendingExcel and SortAscendingExcel commands as per the control id workbook &lt;a rel="nofollow" target="_new" href="http://www.microsoft.com/downloads/details.aspx?familyid=3F2FE784-610E-4BF1-8143-41E481993AC6&amp;amp;displaylang=en"&gt;www.microsoft.com/.../details.aspx&lt;/a&gt; , They should be invoked from Auto-Filter dropdown.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Navneet&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10081669" width="1" height="1"&gt;</description></item><item><title>re: Handling Sort and Filter Events in Excel (Navneet Gupta)</title><link>http://blogs.msdn.com/b/vsto/archive/2010/05/03/handling-sort-and-filter-events-in-excel-navneet-gupta.aspx#10081666</link><pubDate>Wed, 27 Oct 2010 18:26:27 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10081666</guid><dc:creator>Lee</dc:creator><description>&lt;p&gt;We&amp;#39;ve hooked these four commands and they work well when directly invoking the sort command (e.g. from the ribbon). However, they do not seem to fire when sorting data via the sort commands within an auto-filter dropdown. Is there a way to catch these sort actions?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10081666" width="1" height="1"&gt;</description></item><item><title>re: Handling Sort and Filter Events in Excel (Navneet Gupta)</title><link>http://blogs.msdn.com/b/vsto/archive/2010/05/03/handling-sort-and-filter-events-in-excel-navneet-gupta.aspx#10048705</link><pubDate>Wed, 11 Aug 2010 04:59:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10048705</guid><dc:creator>CHEN Kai</dc:creator><description>&lt;p&gt;Hi, great tutorials. &amp;nbsp;But how can I catch the event, e.g. filter event, so that the add-in would know the changes of the filter criteria the user have made?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10048705" width="1" height="1"&gt;</description></item></channel></rss>