<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Tips &amp; Tricks for MS Excel © 1989 - 2009 XL-Dennis </title><description>Tips &amp; Tricks for MS Excel © 1989 - 2009 XL-Dennis  RSS 2.0 Feed</description><link>http://www.excelkb.com/</link><webMaster>consult@xldennis.com</webMaster><lastBuildDate>Thu, 11 Mar 2010 01:24:46 GMT</lastBuildDate><ttl>20</ttl><generator>Tips &amp; Tricks for MS Excel © 1989 - 2009 XL-Dennis </generator><item><title>MS Excel sites</title><link>http://www.excelkb.com/article.aspx?id=10009</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;The following list cover many areas about Excel and what we can do with the spreadsheet-software. Take your time to visit them and take part of all the good knowledge they share with the global Excel community. &lt;/P&gt;&lt;P&gt;&lt;TABLE border=0 cellSpacing=1 cellPadding=1 width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;&lt;FONT size=2&gt;General Sites&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;&lt;FONT size=2&gt;Comments&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;A href="http://xcelfiles.homestead.com/" target=_blank&gt;&lt;FONT size=2&gt;XcelFiles&lt;/FONT&gt;&lt;/A&gt;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="FONT-SIZE: 8pt"&gt;Ivan F Moala's site with lot of amazing stuff.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;A href="http://puremis.net/excel/" target=_blank&gt;&lt;FONT size=2&gt;Colo's Junk Room&lt;/FONT&gt;&lt;/A&gt;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="FONT-SIZE: 8pt"&gt;Masaru Kaji´s site with all The Cellmasters and VBA &amp;amp; Javascript.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;A href="http://www.ozgrid.com/" target=_blank&gt;&lt;FONT size=2&gt;OzGrid Business Applications&lt;/FONT&gt;&lt;/A&gt;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="FONT-SIZE: 8pt"&gt;Dave &amp;amp; Raina Hawley's site where you find almost everything about MS Excel.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;A href="http://www.andypope.info/" target=_blank&gt;&lt;FONT size=2&gt;AJP Excel Information&lt;/FONT&gt;&lt;/A&gt;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="FONT-SIZE: 8pt"&gt;Andy Pope's site with nice solutions for charting and VBA.&lt;/FONT&gt; &lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;A href="http://www.thecodenet.com/" target=_blank&gt;&lt;FONT size=2&gt;The Code Net&lt;/FONT&gt;&lt;/A&gt;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="FONT-SIZE: 8pt"&gt;Mark Rowlinson's growing site with great stuff.&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;A href="http://www.andrewsexceltips.net/" target=_blank&gt;&lt;FONT size=2&gt;Andrew's Excel Tips&lt;/FONT&gt;&lt;/A&gt;&lt;/TD&gt;&lt;TD&gt;&lt;FONT size=2&gt;&lt;SPAN style="FONT-SIZE: 8pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt"&gt;Andrew Engwirda's nice site for Excel addicts.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;A href="http://scriptorium.serve-it.nl/environments.php?eid=1" target=_blank&gt;&lt;FONT size=2&gt;Scriptorium&lt;/FONT&gt;&lt;/A&gt;&lt;A href="http://www.an</description><pubDate>Wed, 03 Mar 2010 13:42:06 GMT</pubDate><dc:creator>Dennis Wallentin</dc:creator></item><item><title>Excel Loader</title><link>http://www.excelkb.com/article.aspx?id=10192</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P align=left&gt;&lt;FONT size=2 face=Arial&gt;The information in this article applies to:&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT size=2 face=Arial&gt;Microsoft Excel 2000 and and later.&lt;/FONT&gt; &lt;/LI&gt;&lt;/UL&gt;&lt;HR color=#c0c0c0 SIZE=1&gt;&lt;TABLE style="BORDER-COLLAPSE: collapse" border=0 cellSpacing=0 borderColor=#111111 cellPadding=4 width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD colSpan=2&gt;&lt;P&gt;&lt;FONT size=2 face=Arial&gt;&lt;STRONG&gt;Info about updates:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;FONT size=2 face=Arial&gt;&lt;LI&gt;&lt;FONT size=2 face=Arial&gt;2009-08-08:  New version available that support Windows XP, Windows Vista, Windows 7 and also Excel 2010&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT size=2 face=Arial&gt;2009-08-02:  The present version does not support Windows 7 RC. A new version is under development.&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT size=2 face=Arial&gt;2007-05-28:  Removed the "error" message when installing on Windows Vista and updated the installation file accordingly.&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT size=2 face=Arial&gt;2006-07-03:  A minor general update of this article.&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT size=2 face=Arial&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/LI&gt;&lt;/FONT&gt;&lt;LI&gt;&lt;FONT size=2 face=Arial&gt;2006-05-27:  A minor update to open files with the new file extension in Excel 2007.&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT size=2 face=Arial&gt;2006-05-25:  A minor update to control add-ins created with Excel 2007.&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT size=2 face=Arial&gt;&lt;/FONT&gt;&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;FONT size=2 face=Arial&gt;&lt;B&gt;Task&lt;/B&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15&gt; &lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;FONT size=2 face=Arial&gt;Excel Loader is a standalone utility that let the user choose which add-ins should be loaded or not when launching Microsoft Excel.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size=2 face=Arial&gt;How to use Excel Loader in summary:&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT size=2 face=Arial&gt;Start Excel Loader&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT size=2 face=Arial&gt;Choose version of Microsoft Excel&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT size=2 face=Arial&gt;Choose if Microsoft Excel will start with a new workb</description><pubDate>Sun, 09 Aug 2009 02:37:36 GMT</pubDate><dc:creator>Dennis Wallentin</dc:creator></item><item><title>Online resources for VSTO</title><link>http://www.excelkb.com/article.aspx?id=10185</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;&lt;SPAN class=ArticleText&gt;&lt;FONT color=#3366ff&gt;&lt;STRONG&gt;General&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN class=ArticleText&gt;&lt;/SPAN&gt;&lt;SPAN class=ArticleText&gt;&lt;A href="http://www.officezealot.com/VSTO/" target=_blank&gt;OfficeZealot VSTO Zone&lt;/A&gt;&lt;/SPAN&gt; &lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN class=ArticleText&gt;&lt;FONT color=#3366ff&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=ArticleText&gt;&lt;FONT color=#3366ff&gt;&lt;STRONG&gt;Microsoft&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN class=ArticleText&gt;&lt;FONT color=#000000&gt;&lt;A href="http://msdn.microsoft.com/en-us/vsto/default.aspx" target=_blank&gt;Visual Studio Tools for Office Developer Portal&lt;/A&gt;&lt;/FONT&gt;&lt;/SPAN&gt; &lt;LI&gt;&lt;A href="http://msdn2.microsoft.com/en-gb/library/bb190896(office.11).aspx" target=_blank&gt;Visual Studio Tools Technical Articles&lt;/A&gt;  &lt;LI&gt;&lt;A href="http://msdn2.microsoft.com/en-us/library/aa537177(office.11).aspx" target=_blank&gt;Overview of Code Snippets Using Visual Studio 2005 Tools for Office&lt;/A&gt; &lt;LI&gt;&lt;A href="http://msdn2.microsoft.com/library/ms165392(en-us,vs.80).aspx" target=_blank&gt;Creating and Using IntelliSense Code Snippets&lt;/A&gt; &lt;LI&gt;&lt;A href="http://msdn2.microsoft.com/en-us/library/aa663367.aspx" target=_blank&gt;Migrating a Shared Add-in to Visual Studio Tools for Office Add-in&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;FONT color=#3366ff&gt;&lt;STRONG&gt;Blogs&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="http://blogs.msdn.com/vsto/" target=_blank&gt;Microsoft VSTO Team blog&lt;/A&gt; &lt;LI&gt;&lt;A href="http://blogs.msdn.com/mshneer/" target=_blank&gt;Misha Shneerson VSTO blog&lt;/A&gt; &lt;LI&gt;&lt;A href="http://blogs.msdn.com/eric_carter/default.aspx" target=_blank&gt;Eric Carter VSTO blog&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="http://blogs.msdn.com/philliphoff/default.aspx" target=_blank&gt;Phillip Hoff&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="http://blogs.msdn.com/andreww/" target=_blank&gt;Andrew Whitechapel blog&lt;/A&gt; &lt;BR&gt;    &lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color=#3366ff&gt;Articles&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color=#3366ff&gt;Deployment for VSTO 2008 (3.0)&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT color=#3366ff&gt;&lt;FONT color=#33</description><pubDate>Thu, 02 Jul 2009 01:52:56 GMT</pubDate><dc:creator>Dennis Wallentin</dc:creator></item><item><title>Professional Excel Development (PED) Second Edition</title><link>http://www.excelkb.com/article.aspx?id=10231</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P align=center&gt;&lt;STRONG&gt;&lt;FONT color=#1111bb&gt;Professional Excel Development - Second Edition&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P align=center&gt;&lt;FONT color=#1111bb&gt;&lt;IMG border=0 hspace=0 align=center src="http://www.excelkb.com/Attachments/43ca04ec-b566-4036-b173-32be.gif"&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#1111bb&gt;Have you read all the best Excel programming books? Do you know how the Excel object model works? Are you familiar with macros and worksheet design techniques? Do you still have difficulty translating your knowledge and experience into comprehensive Excel applications? If so, Professional Excel Development is the book for you.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#1111bb&gt;Professional Excel Development doesn't waste time explaining what you already know about Excel. It starts where other Excel books leave off and builds on the techniques you already know to demonstrate how professional Excel programmers create commercial quality Excel applications.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#1111bb&gt;Professional Excel Development is more than just a theoretical guide to the concepts and techniques employed by professional Excel developers. As the book progresses, we build a fully functional, professional-quality timesheet reporting and analysis system that illustrates the concepts and techniques introduced in each chapter.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#1111bb&gt;Summary Table of Contents&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT color=#1111bb&gt;Chapters 1 to 3 provide an introduction to professional application development with Excel, explain the different styles of application we might choose to create for different circumstances, and identify some general best practices for working with Excel and VBA that will be followed throughout the book. &lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT color=#1111bb&gt;Chapter 4 explains how to design and structure worksheet user interfaces for data entry and analysis. &lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT color=#1111bb&gt;Chapters 5 and 6 introduce two specific types of application - the add-in and the dictator application, whi</description><pubDate>Sun, 07 Jun 2009 14:27:37 GMT</pubDate><dc:creator>Dennis Wallentin</dc:creator></item><item><title>SQL Tester</title><link>http://www.excelkb.com/article.aspx?id=10036</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;H3 align=center&gt;&lt;SPAN lang=EN-GB&gt;&lt;FONT color=#117711 size=6&gt;SQL Tester &lt;/FONT&gt; &lt;/SPAN&gt;&lt;IMG height=48 src="http://www.xldennis.com/Images/c_48x48.gif" width=48 align=absMiddle border=0&gt;&lt;SPAN lang=EN-GB&gt;&lt;BR&gt;&lt;FONT color=#117711&gt;The tool for retrieving data from databases and putting it into MS Excel&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/H3&gt;&lt;FONT color=#000066&gt;&lt;FONT color=#000066&gt;&lt;SPAN lang=EN-GB style="FONT-SIZE: 8pt; FONT-FAMILY: Verdana"&gt;&lt;P&gt;&lt;BR&gt;&lt;SPAN lang=EN-GB style="FONT-SIZE: 8pt; FONT-FAMILY: Verdana"&gt;&lt;FONT color=#117711 size=3&gt;&lt;STRONG&gt;News&lt;BR&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;BR&gt;Version 1.2 is now available which supports Excel 2000 to 2007 on Windows Vista or Windows XP. If you have a valid license of SQL Tester then please e-mail to &lt;A href="mailto:support@xldennis.com"&gt;support@xldennis.com&lt;/A&gt; in order to get the updated version.&lt;BR&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang=EN-GB style="FONT-SIZE: 8pt; FONT-FAMILY: Verdana"&gt;&lt;FONT color=#117711 size=3&gt;&lt;STRONG&gt;What SQL Tester is&lt;BR&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR&gt;The SQL Tester is an interactive Query Tool (add-in) for retrieving data and displaying it on the screen in an ad hoc basis from almost all kinds of databases. The output can be placed in worksheets and added to workbooks VBA-projects.&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV align=center&gt;&lt;CENTER&gt;&lt;TABLE id=AutoNumber1 style="BORDER-COLLAPSE: collapse" borderColor=#111111 cellSpacing=3 cellPadding=3 width="79%" bgColor=#efefef border=0&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="100%"&gt;&lt;SPAN style="FONT-SIZE: 8pt"&gt;It also allows you to:&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="100%"&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN lang=EN-GB style="FONT-SIZE: 8pt; FONT-FAMILY: Verdana"&gt;Copy the displayed data into a worksheet including connection-string and query-string&lt;/SPAN&gt; &lt;/LI&gt;&lt;/UL&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="100%"&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="FONT-SIZE: 8pt"&gt;Create dynamic queries where the data can be updated on a regular basis.&lt;/SPAN&gt; &lt;/LI&gt;&lt;/UL&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="100%"&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN lang=EN-GB style="FONT-SIZE: 8pt; FONT-FAMILY: Verdana"&gt;Insert a complete VB</description><pubDate>Mon, 20 Apr 2009 21:22:57 GMT</pubDate><dc:creator>Dennis Wallentin</dc:creator></item><item><title> Books on VBA / VB / VB.NET &amp; ADO / ADO.NET &amp; VSTO</title><link>http://www.excelkb.com/article.aspx?id=10142</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;The presented list of books is based on what XL-Dennis consider to be valuable printed resources for intermediate to advanced developers and users. &lt;/P&gt;&lt;P&gt;VBA:&lt;/P&gt;&lt;P&gt;&lt;TABLE cellSpacing=1 cellPadding=1 width="100%" border=0&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;FONT color=#3333dd size=1&gt;&lt;STRONG&gt;Title&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;TD&gt;&lt;FONT color=#3333dd size=1&gt;&lt;STRONG&gt;Author(s)&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;TD&gt;&lt;FONT color=#3333dd size=1&gt;&lt;STRONG&gt;Publisher&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;TD&gt;&lt;FONT color=#3333dd size=1&gt;&lt;STRONG&gt;ISBN&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;TD&gt;&lt;FONT color=#3333dd size=1&gt;&lt;STRONG&gt;Year&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;FONT size=1&gt;&lt;A href="http://www.amazon.com/dp/0321508793/" target=_blank&gt;Professional Excel Development (2nd Edition)&lt;/A&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;TD&gt;&lt;FONT size=1&gt;John Green, Dennis Wallentin, Stephen Bullen, Rob Bovey&lt;/FONT&gt;&lt;/TD&gt;&lt;TD&gt;&lt;FONT size=1&gt;Addison Wesley&lt;/FONT&gt;&lt;/TD&gt;&lt;TD&gt;&lt;FONT size=1&gt;0321508793&lt;/FONT&gt;&lt;/TD&gt;&lt;TD&gt;&lt;FONT size=1&gt;2009&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;FONT size=1&gt;Managing Data with Microsoft Excel&lt;/FONT&gt;&lt;/TD&gt;&lt;TD&gt;&lt;FONT size=1&gt;Conrad Carlberg&lt;/FONT&gt;&lt;/TD&gt;&lt;TD&gt;&lt;FONT size=1&gt;QUE&lt;/FONT&gt;&lt;/TD&gt;&lt;TD&gt;&lt;FONT size=1&gt;0-7897-3100-2&lt;/FONT&gt;&lt;/TD&gt;&lt;TD&gt;&lt;FONT size=1&gt;2004&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;FONT size=1&gt;VBA and Macros For Microsoft Excel&lt;/FONT&gt;&lt;/TD&gt;&lt;TD&gt;&lt;FONT size=1&gt;Bill Jelen, Tracy Syrstad&lt;/FONT&gt;&lt;/TD&gt;&lt;TD&gt;&lt;FONT size=1&gt;QUE&lt;/FONT&gt;&lt;/TD&gt;&lt;TD&gt;&lt;FONT size=1&gt;0-7897-3129-0&lt;/FONT&gt;&lt;/TD&gt;&lt;TD&gt;&lt;FONT size=1&gt;2004&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;FONT size=1&gt;Microsoft Excel 2007 Power Programming with VBA&lt;/FONT&gt;&lt;/TD&gt;&lt;TD&gt;&lt;FONT size=1&gt;John Walkenbach&lt;/FONT&gt;&lt;/TD&gt;&lt;TD&gt;&lt;FONT size=1&gt;Wiley&lt;/FONT&gt;&lt;/TD&gt;&lt;TD&gt;&lt;FONT size=1&gt;0470044012&lt;/FONT&gt;&lt;/TD&gt;&lt;TD&gt;&lt;FONT size=1&gt;2007&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;FONT size=1&gt;Excel 2007 VBA Programmer´s Reference &lt;/FONT&gt;&lt;/TD&gt;&lt;TD&gt;&lt;FONT size=1&gt;John Green, Stephen Bullen, Rob Bovey and Michael Alexander&lt;/FONT&gt;&lt;/TD&gt;&lt;TD&gt;&lt;FONT size=1&gt;Wrox Press &lt;/FONT&gt;&lt;/TD&gt;&lt;TD&gt;&lt;FONT size=1&gt;978-0-470.04643-2&lt;/FONT&gt;&lt;/TD&gt;&lt;TD&gt;&lt;FONT size=1&gt;2007&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;FONT size=1&gt;VB</description><pubDate>Tue, 07 Apr 2009 19:44:35 GMT</pubDate><dc:creator>Dennis Wallentin</dc:creator></item><item><title>A Collection of useful Excel articles </title><link>http://www.excelkb.com/article.aspx?id=10008</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;The following list is a collection of useful articles from two great resources, MSDN Library and the Knowledge Base. The list is updated on a regular basis.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color=#1111dd&gt;Office Developer How-to Center&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR&gt;This is the portal for all How-to articles Microsoft publish and it cover Office 2007 together with Microsoft Office SharePoint Server:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="http://msdn.microsoft.com/en-us/office/bb266408.aspx" target=_blank&gt;How-to Center&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color=#1111dd&gt;Excel 2007&lt;BR&gt;&lt;/FONT&gt;&lt;/STRONG&gt;For various reasons I have decided to single out articles that explicit only targeting Excel 2007 from both MSDN and Knowledge Base:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;General&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="http://www.microsoft.com/downloads/details.aspx?FamilyId=771AEB45-9D27-4D1F-ACD1-9B950637D64E&amp;amp;displaylang=en" target=_blank&gt;2007 Office System: Developer Posters&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;DIV class=title&gt;&lt;A href="http://www.microsoft.com/downloads/%202007%20Office%20System%20Sample:%20Visual%20Studio%20Code%20Snippets%20for%20the%20Office%20Fluent%20UI%3C/A%3E%3C/DIV%3E%3C/LI%3E%3CLI%3E%3CDIV%20class=title%3E%3CA%20href=" target=_blank http: ms404812(VS.80).aspx? library en-us msdn2.microsoft.com&gt;Walkthrough: Deploying a Document and an Assembly to a Local Folder&lt;/A&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;LI&gt;&lt;DIV class=title&gt;&lt;DIV class=title&gt;&lt;A href="http://msdn2.microsoft.com/en-us/library/aa730921.aspx" target=_blank&gt;Improving performance in Excel 2007&lt;/A&gt; (written by Charles Williams)&lt;/DIV&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;LI&gt;&lt;DIV class=title&gt;&lt;DIV class=title&gt;&lt;A href="http://www.microsoft.com/downloads/details.aspx?FamilyId=4EC69357-3AE3-4ABA-9D64-66BCDF296AEA&amp;amp;displaylang=en" target=_blank&gt;2007 Office System Sample: Visual Studio Code Snippets for the Office Fluent UI&lt;/A&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;BR&gt;&lt;STRONG&gt;Security&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;DIV class=title&gt;&lt;A href="http://www.microsoft.com/technet/security/guidance/clientsecurity/2007office/default</description><pubDate>Tue, 27 Jan 2009 02:00:48 GMT</pubDate><dc:creator>Dennis Wallentin</dc:creator></item><item><title>AddInSpy</title><link>http://www.excelkb.com/article.aspx?id=10230</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;&lt;FONT face=Arial size=2&gt;The information in this article applies to:&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT face=Arial size=2&gt;All Office versions&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;HR color=#c0c0c0 SIZE=1&gt;&lt;TABLE style="BORDER-COLLAPSE: collapse" borderColor=#111111 cellSpacing=0 cellPadding=4 width="100%" border=0&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD colSpan=2&gt;&lt;FONT face=Arial size=2&gt;&lt;B&gt;General information&lt;/B&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15&gt; &lt;/TD&gt;&lt;TD&gt;&lt;FONT face=Arial size=2&gt;This is a free diagnostic tool from Microsoft which gives detailed information about each installed COM add-in. The tool provides a great number of output for unmanaged, managed as well as VSTO Add-Ins. &lt;BR&gt;For additional information please see: &lt;A href="http://msdn.microsoft.com/en-us/library/cc984533.aspx" target=_blank&gt;Using AddinSpy and AS Diagnostic Tools for Microsoft Office Add-ins&lt;/A&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15&gt; &lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15 colSpan=2&gt;&lt;FONT face=Arial size=2&gt;&lt;B&gt;Download&lt;/B&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15&gt; &lt;/TD&gt;&lt;TD&gt;&lt;FONT face=Arial size=2&gt;The tool can be downloaded from the following location: &lt;A href="http://code.msdn.microsoft.com/AddInSpy/" target=_blank&gt;http://code.msdn.microsoft.com/AddInSpy/&lt;/A&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15&gt; &lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;&lt;FONT face=Arial size=2&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15 colSpan=2&gt;&lt;FONT face=Arial size=2&gt;&lt;B&gt;Note&lt;/B&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15&gt; &lt;/TD&gt;&lt;TD&gt;&lt;FONT face=Arial size=2&gt;The tool is unsupported.&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15&gt; &lt;/TD&gt;&lt;TD&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;TABLE id=AutoNumber1 style="BORDER-COLLAPSE: collapse" borderColor=#111111 cellSpacing=0 cellPadding=3 width="100%" border=0&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD align=right width=100 bgColor=#e0e0e0&gt;&lt;FONT face=Arial size=1&gt;&lt;B&gt;Last Reviewed:&lt;/B&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;TD&gt;&lt;FONT size=2&gt; 2008-10-01&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align=right width=100 bgColor=#e0e0e0&gt;&lt;FONT face=Arial size=1&gt;&lt;B&gt;Keywords:</description><pubDate>Wed, 01 Oct 2008 22:36:09 GMT</pubDate><dc:creator>Dennis Wallentin</dc:creator></item><item><title> Export SQL Server data to a worksheet</title><link>http://www.excelkb.com/article.aspx?id=10059</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;&lt;FONT face=Arial&gt;&lt;SPAN id=_ctl1_ArticleRepeater__ctl1_ArticleText&gt;&lt;FONT face=Verdana&gt; &lt;/FONT&gt;&lt;FONT face=Arial size=2&gt;The information in this article applies to:&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT face=Arial size=2&gt;Microsoft Excel 2000 and above.&lt;/FONT&gt; &lt;LI&gt;&lt;FONT face=Arial size=2&gt;Microsoft Visual Basic.NET 2003 and above.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The following namespaces must be imported to the project:&lt;/P&gt;&lt;/FONT&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT face=Arial size=2&gt;&lt;FONT color=#5555dd&gt;Imports &lt;/FONT&gt;System.Data &lt;LI&gt;&lt;FONT color=#5555dd&gt;Imports&lt;/FONT&gt; System.Data.OleDb &lt;LI&gt;&lt;FONT color=#5555dd&gt;Imports&lt;/FONT&gt; System.Data.SqlClient &lt;LI&gt;&lt;FONT color=#5555dd&gt;Imports&lt;/FONT&gt; Excel = Microsoft.Office.Interop.Excel &lt;LI&gt;&lt;FONT face=Arial size=2&gt;&lt;FONT color=#5555dd&gt;Imports&lt;/FONT&gt; ADODB (And a reference to Microsoft ActiveX Data Object Library in NET for Example 3.)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;     External reference:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Microsoft Excel 9.0 Objects Library and above.&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT face=Arial&gt;&lt;/FONT&gt;&lt;HR color=#c0c0c0 SIZE=1&gt;&lt;TABLE style="BORDER-COLLAPSE: collapse" borderColor=#111111 cellSpacing=0 cellPadding=4 width="100%" border=0&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD colSpan=2&gt;&lt;FONT face=Arial size=2&gt;&lt;B&gt;Task&lt;/B&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15&gt; &lt;/TD&gt;&lt;TD&gt;&lt;FONT face=Arial size=2&gt;Retrieve data from a SQL Server 2000/2005 database and write it to a worksheet.&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15&gt; &lt;/TD&gt;&lt;TD&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15 colSpan=2&gt;&lt;FONT face=Arial size=2&gt;&lt;B&gt;Code&lt;/B&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15&gt; &lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;FONT face=Arial size=2&gt;&lt;STRONG&gt;Example 1: By using ADO.NET and the SQLDataReader&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;FONT face=Arial size=2&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-pagination: none; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 9pt; COLOR: green; FONT-FAMILY: Arial"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;    &lt;/SPAN&gt;'Constant Variables for the database connection.</description><pubDate>Mon, 11 Feb 2008 13:26:45 GMT</pubDate><dc:creator>Dennis Wallentin</dc:creator></item><item><title> Export Access-data to a worksheet</title><link>http://www.excelkb.com/article.aspx?id=10057</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;&lt;FONT face=Arial size=2&gt;The information in this article applies to:&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT face=Arial size=2&gt;Microsoft Excel 2000 and above.&lt;/FONT&gt; &lt;LI&gt;&lt;FONT face=Arial size=2&gt;Microsoft Visual Basic.NET 2003 and above.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The following namespaces must be imported to the project:&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT face=Arial size=2&gt;&lt;FONT color=#5555dd&gt;Imports &lt;/FONT&gt;System.Data &lt;LI&gt;&lt;FONT color=#5555dd&gt;Imports&lt;/FONT&gt; System.Data.OleDb &lt;LI&gt;&lt;FONT color=#5555dd&gt;Imports&lt;/FONT&gt; Excel = Microsoft.Office.Interop.Excel &lt;LI&gt;&lt;FONT face=Arial size=2&gt;&lt;FONT color=#5555dd&gt;Imports&lt;/FONT&gt; ADODB (And a reference to Microsoft ActiveX Data Object Library in NET for Example 3.)&lt;/LI&gt;&lt;/FONT&gt;&lt;FONT face=Arial size=2&gt;&lt;/UL&gt;&lt;P&gt;     External reference:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Microsoft Excel 9.0 Objects Library and above.&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;HR color=#c0c0c0 SIZE=1&gt;&lt;TABLE style="BORDER-COLLAPSE: collapse" borderColor=#111111 cellSpacing=0 cellPadding=4 width="100%" border=0&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD colSpan=2&gt;&lt;FONT face=Arial size=2&gt;&lt;B&gt;Task&lt;/B&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15&gt; &lt;/TD&gt;&lt;TD&gt;&lt;FONT face=Arial size=2&gt;Retrieve data from an Access-database and write it to a range in a worksheet.&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15&gt; &lt;/TD&gt;&lt;TD&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15 colSpan=2&gt;&lt;FONT face=Arial size=2&gt;&lt;B&gt;Code&lt;/B&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15&gt; &lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;FONT face=Arial size=2&gt;&lt;STRONG&gt;Example 1: By using ADO.NET and a Datareader:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;SPAN style="FONT-SIZE: 9pt; COLOR: #299966; FONT-FAMILY: 'Courier New'"&gt;&lt;SPAN lang=EN-US style="FONT-SIZE: 9pt; COLOR: #299966; FONT-FAMILY: 'Courier New'; mso-ansi-language: EN-US"&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-pagination: none; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 9pt; COLOR: green; FONT-FAMILY: Arial"&gt;Constant Variables for the database connection.&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;</description><pubDate>Mon, 11 Feb 2008 13:25:46 GMT</pubDate><dc:creator>Dennis Wallentin</dc:creator></item><item><title>.NET Co Library</title><link>http://www.excelkb.com/article.aspx?id=10229</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;&lt;STRONG&gt;Information&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The information in this article applies to:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Microsoft Excel 2000 and later.&lt;/LI&gt;&lt;LI&gt;Microsoft Windows 2000 and later.&lt;/LI&gt;&lt;LI&gt;.NET Framework 2.0 and later.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;Release notes:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT color=#111111&gt;28-12-2007:&lt;BR&gt;A blogpost about the &lt;A href="http://xldennis.wordpress.com/2007/12/26/excel-2003-windows-vista-bug/" target=_blank&gt;Excel 2003 &amp;amp; Windows Vista bug &lt;/A&gt;is now available.&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT color=#111111&gt;11-12-2007: &lt;BR&gt;Eliminated an error message when Excel is automated from another software or command line.&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT color=#dd1111&gt;&lt;FONT color=#111111&gt;09-12-2007: &lt;BR&gt;&lt;/FONT&gt;Important: The present version does not support Excel 2003 with Windows Vista.&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;08-12-2007: &lt;BR&gt;A minor but an important update of the help file.&lt;/LI&gt;&lt;LI&gt;04-12-2007:&lt;BR&gt;.NET Co Library released.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR&gt;What .NET Co Library is&lt;/STRONG&gt;&lt;/P&gt;&lt;P class=hcp1&gt;.NET Co Library is a free managed COM add-in for Microsoft Excel. &lt;SPAN class=hcp2&gt;The acronym Co in its name refers to both &lt;/SPAN&gt;&lt;SPAN class=hcp3&gt;&lt;U&gt;Co&lt;/U&gt;&lt;/SPAN&gt;&lt;SPAN class=hcp2&gt;nnection and &lt;/SPAN&gt;&lt;SPAN class=hcp3&gt;&lt;U&gt;Co&lt;/U&gt;&lt;/SPAN&gt;&lt;SPAN class=hcp2&gt;de.&lt;/SPAN&gt;&lt;SPAN class=hcp2&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class=hcp1&gt;With the tool you can: &lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;DIV class=hcp1&gt;Store created VBA code, code snippets / procedures / modules, and SQL Queries in a well organized way enabling you to easily reuse the code in all kind of Excel VBA solutions.&lt;BR&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;LI&gt;&lt;DIV class=hcp1&gt;Create connection strings to a various number of databases with two wizards, the .NET Wizard and the Data Link Wizard. Store the created connections strings in a structural way enabling you to easily reuse the connection strings in all kind of Excel VBA solutions.  &lt;/DIV&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P class=hcp1&gt;.NET Co Library has been designed so it also can be shared within a group of VBA developers ove</description><pubDate>Thu, 07 Feb 2008 22:53:11 GMT</pubDate><dc:creator>Dennis Wallentin</dc:creator></item><item><title> Export MySQL-data to a worksheet</title><link>http://www.excelkb.com/article.aspx?id=10062</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;&lt;FONT face=Arial size=2&gt;The information in this article applies to:&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT face=Arial size=2&gt;Microsoft Excel 2002 and above.&lt;/FONT&gt; &lt;LI&gt;&lt;FONT face=Arial size=2&gt;Microsoft Visual Basic.NET 2003 and above.&lt;/FONT&gt; &lt;/LI&gt;&lt;/UL&gt;&lt;FONT face=Arial size=2&gt;&lt;P&gt;The following namespaces must be imported to the project:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT face=Arial size=2&gt;&lt;FONT color=#5555dd&gt;Imports &lt;/FONT&gt;System.Data &lt;LI&gt;&lt;FONT color=#5555dd&gt;Imports&lt;/FONT&gt; &lt;FONT size=2&gt;ByteFX.Data.MySqlClient (Example 1 and 2) &lt;/FONT&gt;&lt;LI&gt;&lt;FONT color=#5555dd&gt;Imports&lt;/FONT&gt; System.Data.Odbc (Example 3) &lt;LI&gt;&lt;FONT face=Arial size=2&gt;&lt;FONT color=#5555dd&gt;Imports&lt;/FONT&gt; ADODB with MyOLEDB Provider installed (Example 4)&lt;/FONT&gt;&lt;FONT face=Arial size=2&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT face=Arial size=2&gt;        External References:&lt;/FONT&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT face=Arial size=2&gt;Microsoft Excel 10.0 Objects Library or above&lt;/LI&gt;&lt;LI&gt;&lt;FONT face=Arial&gt;Microsoft ActiveX Data Objects 2.5 Library and above.&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;HR color=#c0c0c0 SIZE=1&gt;&lt;TABLE style="BORDER-COLLAPSE: collapse" borderColor=#111111 cellSpacing=0 cellPadding=4 width="100%" border=0&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD colSpan=2&gt;&lt;FONT face=Arial size=2&gt;&lt;B&gt;Task&lt;/B&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15&gt; &lt;/TD&gt;&lt;TD&gt;&lt;FONT face=Arial size=2&gt;Retrieve data from a MySQL Database and write to a range in a worksheet.&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15&gt; &lt;/TD&gt;&lt;TD&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15 colSpan=2&gt;&lt;FONT face=Arial size=2&gt;&lt;B&gt;Code&lt;/B&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15&gt; &lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;FONT face=Arial size=2&gt;Here is only the basic part of the procedures viewed and for complete details see one of the related articles below.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face=Arial size=2&gt;&lt;STRONG&gt;Example 1: By ADO.NET and using a Datareader&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;SPAN lang=EN-US style="FONT-SIZE: 9pt; COLOR: #666699; FONT-FAMILY: 'Courier New'; mso-ansi-language: EN-US"&gt;&lt;?xml:names</description><pubDate>Thu, 07 Feb 2008 22:52:43 GMT</pubDate><dc:creator>Dennis Wallentin</dc:creator></item><item><title> Retrieve e-mailaddresses from a Notes database</title><link>http://www.excelkb.com/article.aspx?id=10084</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;&lt;FONT face=Arial size=2&gt;The information in this article applies to:&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT face=Arial size=2&gt;Microsoft Excel 2000 and above.&lt;/FONT&gt; &lt;LI&gt;&lt;FONT face=Arial size=2&gt;Lotus Notes 4.x and above&lt;/FONT&gt; &lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;FONT face=Arial size=2&gt;External reference:&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT face=Arial size=2&gt;Microsoft ActiveX Data Objects 2.5 Library and above.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;FONT face=Arial size=2&gt;Lotus NotesSQL-driver for download:&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT face=Arial&gt;&lt;A href="http://www-306.ibm.com/software/lotus/products/domino/notessql.html" target=_blank&gt;NotesSQL&lt;/A&gt;&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;HR color=#c0c0c0 SIZE=1&gt;&lt;TABLE style="BORDER-COLLAPSE: collapse" borderColor=#111111 cellSpacing=0 cellPadding=4 width="100%" border=0&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD colSpan=2&gt;&lt;FONT face=Arial size=2&gt;&lt;B&gt;Task&lt;/B&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15&gt; &lt;/TD&gt;&lt;TD&gt;&lt;FONT face=Arial size=2&gt;Retrieve e-mailaddresses from a Notes database and dump the data into a worksheet.&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15&gt; &lt;/TD&gt;&lt;TD&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15 colSpan=2&gt;&lt;FONT face=Arial size=2&gt;&lt;B&gt;Code&lt;/B&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15&gt; &lt;/TD&gt;&lt;TD&gt;&lt;FONT face=Arial size=2&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-pagination: none; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 9pt; COLOR: red; FONT-FAMILY: Verdana; mso-bidi-font-family: Verdana; mso-ansi-language: EN-US"&gt;&lt;SPAN style="mso-spacerun: yes"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang=EN-US style="FONT-SIZE: 9pt; COLOR: red; FONT-FAMILY: Verdana; mso-bidi-font-family: Verdana; mso-ansi-language: EN-US"&gt;&lt;SPAN style="FONT-SIZE: 9pt; COLOR: red; FONT-FAMILY: Verdana; mso-bidi-font-family: Verdana"&gt;&lt;SPAN lang=EN-US style="FONT-SIZE: 9pt; COLOR: red; FONT-FAMILY: Verdana; mso-bidi-font-family: Verdana; mso-ansi-language: EN-US"&gt;Option Explicit &lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-paginati</description><pubDate>Tue, 01 Jan 2008 14:56:14 GMT</pubDate><dc:creator>Dennis Wallentin</dc:creator></item><item><title>Create connection strings to databases with .NET Connection</title><link>http://www.excelkb.com/article.aspx?id=10227</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P align=left&gt;&lt;STRONG&gt;Introduction&lt;/STRONG&gt; &lt;BR&gt;.NET Connection is a new free .NET based tool for MS Excel to create and store connection strings in to a various number of databases and to other sources. This is my first public free .NET based tool for MS Excel and it will be followed by additional tools based on the .NET technology in the future.&lt;/P&gt;&lt;P&gt;It can create connection strings with both the Data Link Wizard as well as with the .NET Data Link Wizard. The .NET Data Link Wizard provides us with access to .NET Framework Data Providers to create connection strings with. These Data Providers are not available through the Data Link Wizard.&lt;/P&gt;&lt;P&gt;To store and handle the connection strings it uses a Microsoft Database (aka Access database). It may appear as an ‘overkill’ but in the future it will also handle additional data of different types.&lt;/P&gt;&lt;P&gt;Per se it is a COM Add-in which has been developed and deployed with &lt;A href="http://xldennis.wordpress.com/2007/04/17/add-in-express-2007-for-microsoft-net/" target=_blank&gt;&lt;FONT color=#a0522d&gt;Add-in Express 2007 for Microsoft .NET&lt;/FONT&gt;&lt;/A&gt;. It is also an update of my free &lt;A href="http://www.excelkb.com/article.aspx?id=10061&amp;amp;cNode=1F3F1C" target=_blank&gt;&lt;FONT color=#a0522d&gt;ADO Connection Add-In&lt;/FONT&gt;&lt;/A&gt; for Excel.&lt;/P&gt;&lt;P&gt;Important: This tool has a limitation of storing connection string with 255 characters. If you experience this limitation the please use &lt;A href="http://www.excelkb.com/article.aspx?id=10229"&gt;.NET Co Library&lt;/A&gt; instead.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Requirements &amp;amp; Installation&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;Requirements:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Excel 2000, 2002, 2003 or 2007 &lt;LI&gt;.NET Framework 2.0 and higher &lt;LI&gt;Windows 2000 SP-4, Windows XP SP-2 or Windows Vista &lt;LI&gt;(The option “Trust access to the VBA Project object model” must be checked - I still prefer that this is done by the owners of the computers then changing it through Windo</description><pubDate>Sat, 01 Dec 2007 13:26:23 GMT</pubDate><dc:creator>Dennis Wallentin</dc:creator></item><item><title>MS Excel Tools &amp; Add-ins </title><link>http://www.excelkb.com/article.aspx?id=10010</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;&lt;STRONG&gt;MS Excel Tools &amp;amp; Add-ins&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Professional tools&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;All tools listed below does XL-Dennis use frequently and are recommended for professional developers.&lt;/P&gt;&lt;P&gt;To develop managed Shared Add-ins and VSTO solutions and Add-ins&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Managed Shared Add-ins - &lt;A href="http://www.add-in-express.com/add-in-net/" target=_blank&gt;Add-in Express 2007 for Microsoft.NET&lt;/A&gt;&lt;BR&gt;&lt;/LI&gt;&lt;LI&gt;VSTO solutions and Add-ins - &lt;A href="http://www.add-in-express.com/add-in-vsto/" target=_blank&gt;Add-in Express 2007 for Microsoft VSTO&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;For creating all the published code the following excellent add-ins from StarPrint Limited are used:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Excel 2000 and above - &lt;A href="http://www.starprint2000.com/product_vbacodeprint.aspx" target=_blank&gt;vbaCodePrint&lt;/A&gt;&lt;BR&gt;&lt;/LI&gt;&lt;LI&gt;MS Visual Basic - &lt;A href="http://www.starprint2000.com/product_vbcodeprint.aspx" target=_blank&gt;vbCodePrint&lt;/A&gt;&lt;BR&gt;&lt;/LI&gt;&lt;LI&gt;MS Visual Basic.NET 2005 - &lt;A href="http://www.starprint2000.com/product_vsnetcodeprint2005.aspx" target=_blank&gt;VS.NETcodePrint&lt;/A&gt;&lt;BR&gt;&lt;/LI&gt;&lt;LI&gt;MS Visual Basic.NET 2008 - &lt;A href="http://www.starprint2000.com/product_vsnetcodeprint2008.aspx" target=_blank&gt;VS.NETcodePrint&lt;/A&gt;&lt;BR&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;For all kind of professional text edition and programming:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="http://www.ultraedit.com/" target=_blank&gt;UltraEdit32&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;For rebuilding and recover workbooks:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="http://www.vbusers.com/commercial/Rebuild.asp" target=_blank&gt;Workbook Rebuilder&lt;/A&gt; &lt;BR&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="http://www.cimaware.com/info/info.php?id=400&amp;amp;path=excelfix.html" target=_blank&gt;ExcelFix&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;For converting Excel-files to other different filetypes:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="http://www.softinterface.com/Convert-XLS/Convert-XLS.htm" target=_blank&gt;Convert XLS&lt;/A&gt; or &lt;A href="http://www.softinterface.com/WCE/WCE.htm" target=_blank&gt;WordConverterExe&lt;/A&gt;&lt;/</description><pubDate>Sat, 17 Nov 2007 13:37:38 GMT</pubDate><dc:creator>Dennis Wallentin</dc:creator></item><item><title> Use The OWC Spreadsheet in MS VB 6.0</title><link>http://www.excelkb.com/article.aspx?id=10147</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;&lt;FONT face=Arial size=2&gt;The information in this article applies to:&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT face=Arial size=2&gt;Microsoft Visual Basic 6.0 SP 6.0&lt;/FONT&gt; &lt;/LI&gt;&lt;/UL&gt;&lt;FONT face=Arial size=2&gt;Active-X Control(s) in use:&lt;/FONT&gt; &lt;UL&gt;&lt;LI&gt;&lt;FONT face=Arial size=2&gt;Microsoft Office Spreadsheet 11.0&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;P&gt;External References: &lt;/P&gt;&lt;LI&gt;Microsoft Excel x.x Object Library &lt;/LI&gt;&lt;/FONT&gt;&lt;P&gt;&lt;HR color=#c0c0c0 SIZE=1&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE style="BORDER-COLLAPSE: collapse" borderColor=#111111 cellSpacing=0 cellPadding=4 width="100%" border=0&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD colSpan=2&gt;&lt;P&gt;&lt;FONT face=Arial size=2&gt;&lt;B&gt;Info&lt;/B&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face=Arial size=2&gt;For more information about the Office Web Components (OWC) please see &lt;BR&gt;&lt;SPAN id=_ctl0_ArticleRepeater__ctl1_ArticleTitle&gt;&lt;FONT face=Verdana&gt;&lt;A href="http://www.excelkb.com/article.aspx?id=10177&amp;amp;cNode=1U5J4S"&gt;Q10177 - HOWTO: Articles about Office Web Components (OWC)&lt;/A&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face=Arial size=2&gt;&lt;B&gt;Task&lt;/B&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15&gt; &lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;FONT face=Arial size=2&gt;Populate an OWC Spreadsheet with data from an Excel workbook and if any data have been changed write back data to the worksheet.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face=Arial size=2&gt;Due to a bug in the property dirty of the Spreadsheet Component it's not possible to use it to check if data have been changed or not. Whenever the cursor is moved around in the worksheet the property dirty is set to true.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face=Arial size=2&gt;Below is a workaround enabling to check if data have been changed or not. &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face=Arial size=2&gt;Please note that in the source worksheet it exist a column (Fieldname Changed and it's placed last) that is used to give the status "C" whenever any changes are made in the records. &lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15&gt; &lt;/TD&gt;&lt;TD&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15 colSpan=2&gt;&lt;FONT face=Arial size=2&gt;&lt;B&gt;Code&lt;/B&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15</description><pubDate>Fri, 02 Nov 2007 21:23:37 GMT</pubDate><dc:creator>Dennis Wallentin</dc:creator></item><item><title> Create connection strings to databases</title><link>http://www.excelkb.com/article.aspx?id=10061</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;&lt;FONT face=Arial size=2&gt;The information in this article applies to:&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT face=Arial size=2&gt;Microsoft Excel 2000 and above.&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;FONT face=Arial size=2&gt;     External References: &lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT face=Arial size=2&gt;Microsoft ActiveX Data Objects x.x Library&lt;/FONT&gt; &lt;LI&gt;&lt;FONT face=Arial size=2&gt;Microsoft OLE DB Service Component 1.0 Type Library&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;HR color=#c0c0c0 SIZE=1&gt;&lt;TABLE style="BORDER-COLLAPSE: collapse" borderColor=#111111 cellSpacing=0 cellPadding=4 width="100%" border=0&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD colSpan=2&gt;&lt;FONT face=Arial size=2&gt;&lt;B&gt;Task&lt;/B&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15&gt; &lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;FONT face=Arial size=2&gt;One of the more important steps when accessing databases via ODBC and ADO is to create the connectionstring correct. In this article code is presented for creating strings for setting up the connections. &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face=Arial size=2&gt;In addition a free add-in is available for download which include as well a procedure that automatically place the string into the clipboard. When installing the add-in a new button is available on the standard commandbar in the VB-editor.&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15&gt; &lt;/TD&gt;&lt;TD&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15 colSpan=2&gt;&lt;FONT face=Arial size=2&gt;&lt;B&gt;Code&lt;/B&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15&gt; &lt;/TD&gt;&lt;TD&gt;&lt;FONT face=Arial size=2&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-pagination: none; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 9pt; COLOR: red; FONT-FAMILY: Verdana; mso-bidi-font-family: Verdana"&gt;Option Explicit &lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-pagination: none; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 9pt; COLOR: red; FONT-FAMILY: Verdana; mso-bidi-font-family: Verdana"&gt;&lt;SPAN style="mso-spacerun: yes"&gt; &lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/</description><pubDate>Mon, 06 Aug 2007 15:13:51 GMT</pubDate><dc:creator>Dennis Wallentin</dc:creator></item><item><title>Creating and Deploying Managed COM add-ins with VB.NET 2005 - Part VI</title><link>http://www.excelkb.com/article.aspx?id=10202</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;&lt;STRONG&gt;&lt;FONT color=#111155&gt;Preparation of the managed COM add-in and some house cleaning&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR&gt;Before moving on to the next step we need to prepare the managed COM add-in and also do some ‘house cleaning’.&lt;/P&gt;&lt;P&gt;&lt;FONT color=#5555dd&gt;#1 Remove dependencies&lt;BR&gt;&lt;/FONT&gt;Open the folder ‘Detected Dependencies’ and exclude all files except Microsoft .NET Framework. The easiest way is to right click on each file and select the option Exclude. By default shared add-ins refer to some namespaces which may or may not be used. However it’s beyond the scope of this post to discuss it in more detail. The unused references can be viewed through the property window and via the button ‘Unused references’.&lt;BR&gt;&lt;BR&gt;&lt;FONT color=#5555dd&gt;#2 Uncheck the option ‘Register for COM Interop’&lt;/FONT&gt;&lt;BR&gt;Right click on the project name in the Solution Explorer window and select ‘Properties’. On the Compile tab scroll down to the bottom and uncheck the option.&lt;BR&gt;&lt;BR&gt;&lt;FONT color=#5555dd&gt;#3 Sign the assembly&lt;/FONT&gt;&lt;BR&gt;Select the Signing tab in the properties window and apply or create a new strong name key file (I will cover Strong Names in the next post).&lt;BR&gt;&lt;BR&gt;#4 &lt;FONT color=#5555dd&gt;Make sure that the final version of the add-in has been saved and compiled.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;The following picture shows how the project looks in the Solution Explorer windows on my developing computer:&lt;/P&gt;&lt;P align=center&gt;&lt;IMG hspace=0 src="http://www.excelkb.com/Attachments/9c249d34-fb7e-4192-90e7-ba8e.gif" align=center border=0&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;FONT color=#111155&gt;&lt;STRONG&gt;"The mscoree.dll hell" &lt;/STRONG&gt;&lt;BR&gt;&lt;/FONT&gt;Traditional COM add-ins, for instance developed with VB 6.0, are fully referenced in the Windows registry while managed COM add-ins are not. By default for &lt;STRONG&gt;all&lt;/STRONG&gt; managed COM add-ins the InprocServer32 enter for each of them in the HKEY_CLASSES_ROOT points to one file - mscoree.dll. We don’t need to dig into the registry to get a confirmation of it. Via Excel’s UI it b</description><pubDate>Fri, 27 Jul 2007 16:36:43 GMT</pubDate><dc:creator>Dennis Wallentin</dc:creator></item><item><title>Database sites</title><link>http://www.excelkb.com/article.aspx?id=10005</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;The following list of useful online resources cover several areas of database related information.&lt;/P&gt;&lt;P&gt;&lt;TABLE cellSpacing=1 cellPadding=1 width="100%" border=0&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;&lt;FONT size=2&gt;Database&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;&lt;FONT size=2&gt;Comments&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;A href="http://db.grussell.org/" target=_blank&gt;&lt;FONT size=2&gt;Database eLearning&lt;/FONT&gt;&lt;/A&gt;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="FONT-SIZE: 8pt"&gt;Introduction to databases and &lt;/FONT&gt;&lt;SPAN style="FONT-SIZE: 8pt"&gt;&lt;FONT size=2&gt;SQL.&lt;/FONT&gt;&lt;/FONT&gt;                                  &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;A href="http://www.vbmysql.com/" target=_blank&gt;&lt;FONT size=2&gt;VB/MySQL.com&lt;/FONT&gt;&lt;/A&gt;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="FONT-SIZE: 8pt"&gt;For VB-developers&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;A href="http://www.foxite.com/" target=_blank&gt;&lt;FONT size=2&gt;Foxite&lt;/FONT&gt;&lt;/A&gt;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="FONT-SIZE: 8pt"&gt;MS Visual FoxPro&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;A href="http://www.mvps.org/access/" target=_blank&gt;&lt;FONT size=2&gt;The Access Web&lt;/FONT&gt;&lt;/A&gt;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="FONT-SIZE: 8pt"&gt;FAQ for MS Access and more.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;A href="http://www.granite.ab.ca/accsmstr.htm" target=_blank&gt;&lt;FONT size=2&gt;Tony´s Main Microsoft Access Page&lt;/FONT&gt;&lt;/A&gt;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="FONT-SIZE: 8pt"&gt;Tips &amp;amp; Tricks&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;A href="http://www.sswug.org/" target=_blank&gt;&lt;FONT size=2&gt;SWUGG&lt;/FONT&gt;&lt;/A&gt;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="FONT-SIZE: 8pt"&gt;Articles and more for SQL Server, Oracle and DB2.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;A href="http://www.carlprothman.net/" target=_blank&gt;&lt;FONT size=2&gt;Carl Prothman.NET&lt;/FONT&gt;&lt;/A&gt;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="FONT-SIZE: 8pt"&gt;FAQ for ADO, ADO.NET, ADOX, connection strings to all kind of databases and more.&lt;/FONT&gt; &lt;/SPAN&gt;&lt;/TD</description><pubDate>Sat, 28 Apr 2007 16:30:40 GMT</pubDate><dc:creator>Dennis Wallentin</dc:creator></item><item><title>Add-in Express.NET for Microsoft .NET</title><link>http://www.excelkb.com/article.aspx?id=10226</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;&lt;STRONG&gt;Components and tools&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;I’m a power user of several third-party components and tools like:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="http://www.componentone.com/" target=_blank&gt;ComponentOne&lt;/A&gt; (Both ActiveX controls and .NET Components) &lt;LI&gt;&lt;A href="http://www.iocomp.com/" target=_blank&gt;Iocomp&lt;/A&gt; (ActiveX controls) &lt;LI&gt;&lt;A href="http://www.softwarefx.com/" target=_blank&gt;Software FX&lt;/A&gt; (Chart FX Client Server ActiveX control) &lt;LI&gt;&lt;A href="http://www.ultraedit.com/index.php" target=_blank&gt;UltraEdit32&lt;/A&gt; (Text Editor) &lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;In my experience, these components and tools have the following in common:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;They are robust and rather easy to use.  &lt;LI&gt;Well documented with helpfile(s), examples and additional information at the vendor’s sites. &lt;LI&gt;Good support with easy access and fast service. &lt;LI&gt;Offer yearly subscriptions which give regular updated components.  &lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The main reasons for me to use third-party components and tools are:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Cost effiency for my customers, i e less time is used in the development cycle and I can focus on the main task. &lt;LI&gt;Makes me more competitive in bidding procedures. &lt;LI&gt;Provide the customers with an attractive and end user friendly interface in my solutions. &lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Recently I have added a new tool to my toolbox - &lt;A href="http://www.add-in-express.com/add-in-net/" target=_blank modo="false"&gt;The Add-in Express 2007 for Microsoft .Net &lt;/A&gt;from Add-in Express Ltd. For the last weeks I’ve been working extensively with this tool and in my opinion it’s a great utility. It shares the common aspects with the other mentioned components and tools.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;What is the Add-in Express .NET?&lt;BR&gt;&lt;/STRONG&gt;Add-in Express .NET is a developing tool for Visual Studio.NET to develop:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Office COM Add-ins (Excel 2000 and later) &lt;LI&gt;Excel Automation Add-ins (Ex</description><pubDate>Wed, 25 Apr 2007 20:57:55 GMT</pubDate><dc:creator>Dennis Wallentin</dc:creator></item><item><title>Creating &amp; Deploying Managed COM Add-ins with VSTO 2005 SE - Part V</title><link>http://www.excelkb.com/article.aspx?id=10220</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN id=_ctl0_ArticleRepeater__ctl1_ArticleText&gt;&lt;FONT face=Arial size=2&gt;The information in this article applies to:&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT face=Arial size=2&gt;Microsoft Excel 2007 and later.&lt;/FONT&gt; &lt;LI&gt;&lt;FONT face=Arial size=2&gt;Microsoft Visual Studio Tools for the Microsoft Office System 2005 Second Edition (VSTO 2005 SE)&lt;/FONT&gt; &lt;LI&gt;&lt;FONT face=Arial size=2&gt;.NET Framework 2.0 and later.&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;HR color=#c0c0c0 SIZE=1&gt;&lt;TABLE style="BORDER-COLLAPSE: collapse" borderColor=#111111 cellSpacing=0 cellPadding=4 width="100%" border=0&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD colSpan=2&gt;&lt;P&gt;&lt;FONT face=Arial size=2&gt;&lt;B&gt;Prerequisites&lt;/B&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size=2&gt;In order to run VSTO created managed COM add-ins there are certain requirements, in terms of prequisites components, that need to be met. The basic components are the following:&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT size=2&gt;.NET Framework&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT size=2&gt;VSTO Runtime&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT size=2&gt;Office 2003 and / or Office 2007&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT size=2&gt;For Office 2003 SP-1 and later&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;FONT size=2&gt;It can be discussed whether all the prerequisites components, when missing on the targeting computers, should be part of the VSTO solution’s MSI (Microsoft Installer) file or not.  The installation process starts to check if the target computer contains the prerequisites or not. If not, then the missing components are first installed and then as a final stage of the process the VSTO solution is installed.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size=2&gt;Installing all the required components involves several installation steps and if anything goes wrong then it can be difficult to track down the error(s) and also to rollback the installation process, i e to restore the computer to its previously state.  The alternative approaches we have to choose among are:&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT size=2&gt;Install all the required components as stand</description><pubDate>Mon, 23 Apr 2007 22:46:28 GMT</pubDate><dc:creator>Dennis Wallentin</dc:creator></item><item><title>VSTO COM Add-ins series</title><link>http://www.excelkb.com/article.aspx?id=10224</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;&lt;FONT face=Arial size=2&gt;The information in this article applies to:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT face=Arial size=2&gt;Microsoft Excel 2007 and later.&lt;/FONT&gt; &lt;LI&gt;&lt;FONT face=Arial&gt;Microsoft Visual Studio Tools for the Microsoft Office System 2005 Second Edition (VSTO 2005 SE)&lt;/FONT&gt; &lt;LI&gt;&lt;FONT face=Arial size=2&gt;.NET Framework 2.0 and later.&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;HR color=#c0c0c0 SIZE=1&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;TABLE style="BORDER-COLLAPSE: collapse" borderColor=#111111 cellSpacing=0 cellPadding=4 width="100%" border=0&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD colSpan=2&gt;&lt;FONT face=Arial size=2&gt;&lt;B&gt;Creating and deploying VSTO COM add-ins&lt;/B&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15&gt; &lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;FONT face=Arial size=2&gt;Here is all the articles, written by Dennis Wallentin, that are part of the series about creating and deploying VSTO COM add-ins with VB.NET 2005. The series has previously been published at &lt;A href="http://xldennis.wordpress.com/"&gt;XL-Dennis blog&lt;/A&gt;.&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT face=Arial size=2&gt;&lt;A href="http://www.excelkb.com/article.aspx?id=10216&amp;amp;cNode=3C8V1B" target=_blank&gt;Introduction&lt;/A&gt;&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT face=Arial size=2&gt;&lt;A href="http://www.excelkb.com/article.aspx?id=10217&amp;amp;cNode=3C8V1B" target=_blank&gt;Manipulation of Ribbon and customized images&lt;/A&gt;&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT face=Arial size=2&gt;&lt;A href="http://www.excelkb.com/article.aspx?id=10218&amp;amp;cNode=3C8V1B" target=_blank&gt;All the procedures for the case&lt;/A&gt;&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT face=Arial size=2&gt;&lt;A href="http://www.excelkb.com/article.aspx?id=10219&amp;amp;cNode=3C8V1B" target=_blank&gt;Deployment, prerequisites and Code Access Security (CAS)&lt;/A&gt;&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT face=Arial size=2&gt;&lt;A href="http://www.excelkb.com/article.aspx?id=10220&amp;amp;cNode=3C8V1B" target=_blank&gt;Prerequisites&lt;/A&gt;&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT face=Arial size=2&gt;&lt;A href="http://www.excelkb.com/article.aspx?id=10222&amp;amp;cNode=3C8V1B" target=_blank&gt;Code Access Security Policy&lt;/A&gt;&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT face=Arial size=2&gt;&lt;A href="http://www</description><pubDate>Sun, 11 Mar 2007 16:16:09 GMT</pubDate><dc:creator>Dennis Wallentin</dc:creator></item><item><title>Creating &amp; Deploying Managed COM Add-ins with VSTO 2005 SE - Part VII</title><link>http://www.excelkb.com/article.aspx?id=10223</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;&lt;SPAN id=_ctl0_ArticleRepeater__ctl1_ArticleText&gt;&lt;FONT face=Arial size=2&gt;The information in this article applies to:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;FONT face=Arial&gt;Microsoft Excel 2007 and later.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;FONT face=Arial&gt;Microsoft Visual Studio Tool for the Microsoft Office System 2005 Second Edition (VSTO 2005 SE)&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;FONT face=Arial&gt;.NET Framework 2.0 and later.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;HR color=#c0c0c0 SIZE=1&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;TABLE style="BORDER-COLLAPSE: collapse" borderColor=#111111 cellSpacing=0 cellPadding=4 width="100%" border=0&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD colSpan=2&gt;&lt;P&gt;&lt;FONT face=Arial size=2&gt;&lt;B&gt;Deployment&lt;/B&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size=2&gt;MSFT has recently updated their articles about deployment of VSTO solutions:&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="http://msdn2.microsoft.com/en-us/library/bb332051.aspx" target=_blank snap_icon_added="spa" act_suffix icon_trigger="false" text_trigger="true" parent_link_icon="maybe" snap_preview_added="spa" modo="false"&gt;&lt;FONT color=#0066cc size=2&gt;Part I&lt;/FONT&gt;&lt;/A&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;LI&gt;&lt;A href="http://msdn2.microsoft.com/en-us/library/bb332052.aspx" target=_blank snap_icon_added="spa" act_suffix icon_trigger="false" text_trigger="true" parent_link_icon="maybe" snap_preview_added="spa" modo="false"&gt;&lt;FONT color=#0066cc size=2&gt;Part II&lt;/FONT&gt;&lt;/A&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;FONT size=2&gt;It’s good that the articles have been updated to review Office 2007 and VSTO 2005 SE. &lt;BR&gt;&lt;BR&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;When it comes to deployment of managed VSTO created COM add-ins we have two alternatives to consider. The add-ins can be stored on the local hard disks or in network-accessible locations (although the later require some additional work).&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size=2&gt;If we develop general free and commercial add-ins the only option is to install them on the targeting computer’s disks. For custom specific solutions network-accessible locations in the i</description><pubDate>Sun, 11 Mar 2007 16:00:40 GMT</pubDate><dc:creator>Dennis Wallentin</dc:creator></item><item><title>Creating &amp; Deploying Managed COM Add-ins with VSTO 2005 SE - Part VI</title><link>http://www.excelkb.com/article.aspx?id=10222</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;&lt;FONT face=Arial size=2&gt;The information in this article applies to:&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT face=Arial size=2&gt;Microsoft Excel 2007 and later.&lt;/FONT&gt; &lt;LI&gt;&lt;FONT face=Arial size=2&gt;Microsoft Visual Studio Tools for the Microsoft Office System 2005 Second Edition (VSTO 2005 SE)&lt;/FONT&gt; &lt;LI&gt;&lt;FONT face=Arial size=2&gt;.NET Framework 2.0 and later.&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;HR color=#c0c0c0 SIZE=1&gt;&lt;TABLE style="BORDER-COLLAPSE: collapse" borderColor=#111111 cellSpacing=0 cellPadding=4 width="100%" border=0&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD colSpan=2&gt;&lt;FONT face=Arial size=2&gt;&lt;B&gt;The hard part - Code Access Security Policy&lt;/B&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15&gt; &lt;/TD&gt;&lt;TD&gt;&lt;FONT face=Arial size=2&gt;&lt;P&gt;Code Access Security (CAS) is the most difficult and the most challenge part of creating workable VSTO setups. It’s also the most confusing part of .NET, especially for those of us that come from a pure VBA environment. I’m the first to admit that writing this post is also difficult due to the subject.&lt;/P&gt;&lt;P&gt;In order to fully understand it we need to have deeper knowledge about:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;.NET Framework, &lt;LI&gt;.NET Framework’s security model, &lt;LI&gt;VSTO’s security model, &lt;LI&gt;How to work with different kind of manifests and &lt;LI&gt;How to work with the available tools to create and control the security part of setups. &lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;This article only cover CAS as part of VSTO created managed COM Add-ins’s setups. For obvious reasons it’s not possible to cover it all and the blogpost should be considered as an introduction to VSTO’s security. Compared with workbook level solutions (workbooks and templates) the security aspect for managed COM Add-ins is, in my opinion, less complex.&lt;/P&gt;&lt;P&gt;For a general introduction about CAS please see the following online resources:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="http://www.codeproject.com/dotnet/UB_CAS_NET.asp" target=_blank snap_icon_added="spa" act_suffix icon_trigger</description><pubDate>Sun, 11 Mar 2007 14:48:05 GMT</pubDate><dc:creator>Dennis Wallentin</dc:creator></item><item><title>Send worksheets to several recipients</title><link>http://www.excelkb.com/article.aspx?id=10221</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;&lt;FONT face=Arial size=2&gt;The information in this article applies to:&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT face=Arial size=2&gt;Microsoft Excel 2000 and later.&lt;/FONT&gt;&lt;LI&gt;&lt;FONT face=Arial size=2&gt;Lotus Notes 7.01 and later.&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;HR color=#c0c0c0 SIZE=1&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;TABLE style="BORDER-COLLAPSE: collapse" borderColor=#111111 cellSpacing=0 cellPadding=4 width="100%" border=0&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD colSpan=2&gt;&lt;FONT face=Arial size=2&gt;&lt;B&gt;Task&lt;/B&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15&gt; &lt;/TD&gt;&lt;TD&gt;&lt;FONT face=Arial size=2&gt;I have been receiving some e-mails on how to send individual worksheets to several groups of recipients. In this example each worksheet contain the list of recipients to send the actual worksheet to. The case also includes a general error handling.&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15&gt; &lt;/TD&gt;&lt;TD&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15 colSpan=2&gt;&lt;FONT face=Arial size=2&gt;&lt;B&gt;Code&lt;/B&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15&gt; &lt;/TD&gt;&lt;TD&gt;&lt;FONT face=Arial size=2&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: normal; mso-pagination: none; mso-layout-grid-align: none"&gt;&lt;SPAN lang=EN-US style="FONT-SIZE: 9pt; COLOR: red; FONT-FAMILY: 'Courier New'; mso-ansi-language: EN-US"&gt;Option Explicit &lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: normal; mso-pagination: none; mso-layout-grid-align: none"&gt;&lt;SPAN lang=EN-US style="FONT-SIZE: 9pt; COLOR: red; FONT-FAMILY: 'Courier New'; mso-ansi-language: EN-US"&gt;&lt;SPAN style="mso-spacerun: yes"&gt; &lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: normal; mso-pagination: none; mso-layout-grid-align: none"&gt;&lt;B&gt;&lt;SPAN lang=EN-US style="FONT-SIZE: 9pt; COLOR: red; FONT-FAMILY: 'Courier New'; mso-ansi-language: EN-US"&gt;Sub &lt;/SPAN&gt;&lt;/B&gt;&lt;B&gt;&lt;SPAN lang=EN-US style="FONT-SIZE: 9pt; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-ansi-language: EN-US"&gt;Send_Sheets</description><pubDate>Sun, 18 Feb 2007 16:51:59 GMT</pubDate><dc:creator>Dennis Wallentin</dc:creator></item><item><title>Creating &amp; Deploying Managed COM Add-ins with VSTO 2005 SE - Part III</title><link>http://www.excelkb.com/article.aspx?id=10218</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;&lt;FONT face=Arial size=2&gt;The information in this article applies to:&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT face=Arial size=2&gt;Microsoft Excel 2007 and later.&lt;/FONT&gt; &lt;LI&gt;&lt;FONT face=Arial size=2&gt;Microsoft Visual Studio Tools for the Microsoft Office System 2005 Second Edition (VSTO 2005 SE)&lt;/FONT&gt; &lt;LI&gt;&lt;FONT face=Arial size=2&gt;.NET Framework 2.0 and later.&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;HR color=#c0c0c0 SIZE=1&gt;&lt;TABLE style="BORDER-COLLAPSE: collapse" borderColor=#111111 cellSpacing=0 cellPadding=4 width="100%" border=0&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD colSpan=2&gt;&lt;FONT face=Arial size=2&gt;&lt;B&gt;Task&lt;/B&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15&gt; &lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;FONT face=Arial size=2&gt;Here in the third article about managed COM Add-ins created with VSTO 2005 SE focus is set on the procedures that do all the work:&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT face=Arial size=2&gt;Show the About Form&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT face=Arial size=2&gt;Show the Help file&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT face=Arial size=2&gt;Create the Chart Report&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT face=Arial size=2&gt;Create the Pivot Table Report&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT face=Arial size=2&gt;Create the Data Report&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT face=Arial size=2&gt;A common procedure that populate the target worksheet with data (by using classic ADO)&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15&gt; &lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;FONT face=Arial size=2&gt;In general it's highly recommended to use error handling although the below code does not use it.&lt;BR&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15 colSpan=2&gt;&lt;FONT face=Arial size=2&gt;&lt;B&gt;Code&lt;/B&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15&gt; &lt;/TD&gt;&lt;TD&gt;&lt;FONT face=Arial size=2&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-pagination: none; mso-layout-grid-align: none"&gt;&lt;SPAN lang=EN-US style="FONT-SIZE: 9pt; COLOR: red; FONT-FAMILY: Arial; mso-ansi-language: EN-US"&gt;&lt;FONT color=#111111&gt;The following procedures are included in one module by the name of modData:&lt;BR&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-pagination: none; mso-layout-</description><pubDate>Mon, 22 Jan 2007 00:12:19 GMT</pubDate><dc:creator>Dennis Wallentin</dc:creator></item><item><title>Creating &amp; Deploying Managed COM Add-ins with VSTO 2005 SE - Part IV</title><link>http://www.excelkb.com/article.aspx?id=10219</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;&lt;FONT face=Arial size=2&gt;The information in this article applies to:&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT face=Arial size=2&gt;Microsoft Excel 2007 and later.&lt;/FONT&gt; &lt;/LI&gt;&lt;FONT face=Arial size=2&gt;&lt;LI&gt;&lt;FONT face=Arial size=2&gt;Microsoft Visual Studio Tools for the Microsoft Office System 2005 Second Edition (VSTO 2005 SE).&lt;/FONT&gt; &lt;/LI&gt;&lt;/FONT&gt;&lt;LI&gt;&lt;FONT face=Arial size=2&gt;.NET Framework 2.0 and later.&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;HR color=#c0c0c0 SIZE=1&gt;&lt;TABLE style="BORDER-COLLAPSE: collapse" borderColor=#111111 cellSpacing=0 cellPadding=4 width="100%" border=0&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD colSpan=2&gt;&lt;FONT face=Arial size=2&gt;&lt;B&gt;General information&lt;/B&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15&gt; &lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;SPAN lang=EN-US style="FONT-SIZE: 12pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Georgia','serif'; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: SV; mso-bidi-language: AR-SA"&gt;&lt;FONT face=Tahoma size=2&gt;In general for less advanced COM add-ins created with classic VB deployment is not an issue. If there are any problems the online community has usually a good knowledge about it.&lt;BR&gt;&lt;BR&gt;For COM add-ins created with VB.NET (Shared Add-in template) the situation may be different as there may be deployment issues related to .NET Framework, PIA/IA, and the targeting Office version(s). Compared with classic VB the VB.NET deployments issues may be more complex and difficult to solve but within the online community there exist a general experience and a common good knowledge about .NET based deployment.&lt;BR&gt;&lt;BR&gt;When it comes to VSTO created managed COM add-ins the situation is total different situation then with the above cases. Microsoft has a high development pace for VSTO and for every new version most major known problems are solved but at the same time new problems are created.&lt;BR&gt;&lt;BR&gt;We need to be aware of two important aspects:&lt;/FO</description><pubDate>Mon, 22 Jan 2007 00:11:10 GMT</pubDate><dc:creator>Dennis Wallentin</dc:creator></item><item><title>Creating &amp; Deploying Managed COM Add-ins with VSTO 2005 SE - Part II</title><link>http://www.excelkb.com/article.aspx?id=10217</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;&lt;FONT face=Arial size=2&gt;The information in this article applies to:&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT face=Verdana size=2&gt;&lt;FONT face=Arial&gt;Microsoft Excel 2007 and later&lt;/FONT&gt;. &lt;/FONT&gt; &lt;LI&gt;&lt;FONT face=Arial size=2&gt;Microsoft Visual Studio Tools for the Microsoft Office System 2500 Second Edition (VSTO 2005 SE). &lt;/FONT&gt;&lt;LI&gt;&lt;FONT face=Arial size=2&gt;.NET Framework 2.0 and later.&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;HR color=#c0c0c0 SIZE=1&gt;&lt;TABLE style="BORDER-COLLAPSE: collapse" borderColor=#111111 cellSpacing=0 cellPadding=4 width="100%" border=0&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD colSpan=2&gt;&lt;FONT face=Arial size=2&gt;&lt;B&gt;Task&lt;/B&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15&gt; &lt;/TD&gt;&lt;TD&gt;&lt;FONT face=Arial size=2&gt;&lt;P&gt;Here in the second article about managed COM Add-ins created with VSTO 2005 SE focus is set on:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Add and customize a Ribbon control class&lt;/LI&gt;&lt;LI&gt;Customize the underlying Ribbon XML file&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Add Ribbon support to the project:&lt;BR&gt;1. Choose the command Project | Add Component...&lt;BR&gt;2. Select the "Ribbon support" component in the dialog.&lt;BR&gt;&lt;BR&gt;The added class module implements the IRibbonExtensibility which enables customization of the Ribbon user interface in a straightforward way. It includes some predefined procedures and variables which need to be modified in order to suite the project. The key part here is that it use a method RequestService (see link and code below) which allow the project to implement the extensibility to manipulate the Ribbon.&lt;BR&gt;&lt;BR&gt;In addition, a "Ribbon" XML file is added to the project which has the same prefix name as the class module. The file contains a RIbbonX code skeleton that also needs to be modified to fit into the project.&lt;/P&gt;&lt;P&gt;Since the project uses customized icon images (png file format) the images need to be converted which is done in a separate class module (PictureConvert.vb - see the code below).&lt;BR&gt;&lt;BR&gt;&lt;/FONT&gt;&lt;FONT face=Arial size=2&gt;Andrew Whitechapel has publis</description><pubDate>Thu, 04 Jan 2007 19:17:44 GMT</pubDate><dc:creator>Dennis Wallentin</dc:creator></item><item><title>Creating &amp; Deploying Managed COM Add-ins with VSTO 2005 SE - Part I</title><link>http://www.excelkb.com/article.aspx?id=10216</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;&lt;FONT face=Arial size=2&gt;The information in this article applies to:&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT face=Arial size=2&gt;Microsoft Excel 2007 and later.&lt;/FONT&gt; &lt;LI&gt;&lt;FONT face=Arial size=2&gt;Microsoft Visual Studio Tools for the Microsoft Office System 2500 Second Edition (VSTO 2005 SE) &lt;/FONT&gt; &lt;LI&gt;&lt;FONT face=Arial size=2&gt;.NET Framework 2.0 and later&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;HR color=#c0c0c0 SIZE=1&gt;&lt;TABLE style="BORDER-COLLAPSE: collapse" borderColor=#111111 cellSpacing=0 cellPadding=4 width="100%" border=0&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD colSpan=2&gt;&lt;FONT face=Arial size=2&gt;&lt;B&gt;Introduction&lt;/B&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15&gt; &lt;/TD&gt;&lt;TD&gt;&lt;FONT face=Arial size=2&gt;&lt;P&gt;VSTO 2005 SE was released in November 2006 and it provide us with the possibility to create application level add-ins, i e managed COM add-ins, for Excel 2003 and Excel 2007.&lt;/P&gt;&lt;P&gt;The following requirements must be met in order to create and distribute VSTO based add-ins:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Visual Studio 2005 Professional or higher or &lt;LI&gt;Visual Studio 2005 Tools for Microsoft Office System (VSTO 2005) and &lt;LI&gt;Visual Studio 2005 Tools for Microsoft Office System Second Edition (VSTO 2005 SE) and &lt;LI&gt;.NET Framework 2.0 and later (also on the targeting computers) &lt;LI&gt;VSTO 2005 SE runtime (on the targeting computers) &lt;LI&gt;Excel 2003 (certain versions only) and Excel 2007 (all versions) &lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;Special note:&lt;BR&gt;&lt;/STRONG&gt;Microsoft strongly recommend to not install VSTO 2005 SE on any computer that have more than one version of Microsoft Office installed.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;#Registry entries&lt;/STRONG&gt;&lt;BR&gt;One important aspect is that we don’t need to shim the add-ins like we need to do with  &lt;A href="http://www.excelkb.com/article.aspx?id=10202" target=_blank modo="false"&gt;Shared Add-ins &lt;/A&gt;(developed with VB.NET) since VSTO use an add-in loader file.&lt;/P&gt;&lt;P&gt;The following (Swedish) screenshot shows the entry in the HKEY_CLASSES_ROOT section and under </description><pubDate>Wed, 03 Jan 2007 19:26:25 GMT</pubDate><dc:creator>Dennis Wallentin</dc:creator></item><item><title>Using IRibbonExtensibility''s type library with COM Add-ins</title><link>http://www.excelkb.com/article.aspx?id=10215</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;&lt;FONT face=Arial size=2&gt;The information in this article applies to:&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT face=Arial size=2&gt;Microsoft Excel 2000 and later.&lt;/FONT&gt; &lt;LI&gt;&lt;FONT face=Arial&gt;Microsoft Visual Basic 6.0 SP 6&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;HR color=#c0c0c0 SIZE=1&gt;&lt;TABLE style="BORDER-COLLAPSE: collapse" borderColor=#111111 cellSpacing=0 cellPadding=4 width="100%" border=0&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD colSpan=2&gt;&lt;FONT face=Arial size=2&gt;&lt;B&gt;Task&lt;/B&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15&gt; &lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;FONT face=Arial size=2&gt;Please see the following blogpost at XL-Dennis blog:&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT face=Arial size=2&gt;&lt;A href="http://xldennis.wordpress.com/2006/12/12/creating-a-standalone-type-library-for-iribbonextensibility/" target=_blank&gt;Creating a standalone type library for IRibbonExtensibility&lt;/A&gt;&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT face=Arial size=2&gt;&lt;A href="http://xldennis.wordpress.com/2006/12/22/using-iribbonextensibilitys-type-library-with-com-add-ins/" target=_blank&gt;Using IRibbonExtensibility's type library with COM Add-ins&lt;/A&gt;&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15&gt; &lt;/TD&gt;&lt;TD&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15 colSpan=2&gt;&lt;FONT face=Arial size=2&gt;&lt;B&gt;Code&lt;/B&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15&gt; &lt;/TD&gt;&lt;TD&gt;&lt;FONT face=Arial size=2&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-pagination: none; mso-layout-grid-align: none"&gt;&lt;SPAN lang=EN-US style="FONT-SIZE: 9pt; COLOR: red; FONT-FAMILY: Verdana; mso-bidi-font-family: 'Courier New'; mso-ansi-language: EN-US"&gt;Option Explicit &lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-pagination: none; mso-layout-grid-align: none"&gt;&lt;SPAN lang=EN-US style="FONT-SIZE: 9pt; COLOR: red; FONT-FAMILY: Verdana; mso-bidi-font-family: 'Courier New'; mso-ansi-language: EN-US"&gt;&lt;SPAN style="mso-spacerun: yes"&gt; &lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-pagination: none; mso-layo</description><pubDate>Fri, 22 Dec 2006 02:31:32 GMT</pubDate><dc:creator>Dennis Wallentin</dc:creator></item><item><title>A Collection of articles about Managed COM Add-ins</title><link>http://www.excelkb.com/article.aspx?id=10204</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;&lt;FONT face=Arial size=2&gt;The information in this article requires the following tools:&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT face=Arial size=2&gt;Microsoft Excel 2003 and later.&lt;/FONT&gt; &lt;LI&gt;&lt;FONT face=Arial size=2&gt;The Primary Interop Assembly (PIA) for Microsoft Office 2003 and later.   &lt;LI&gt;Microsoft Visual Studio.NET 2005 and later that include the template 'Share Add-in'.&lt;/LI&gt;&lt;LI&gt;Microsoft .NET Framework 2.0 and later.&lt;/LI&gt;&lt;LI&gt;Lotus Notes 7.01 and later in order to use the sample tool.&lt;/LI&gt;&lt;/UL&gt;&lt;/FONT&gt;&lt;P&gt;&lt;HR color=#c0c0c0 SIZE=1&gt;&lt;TABLE style="BORDER-COLLAPSE: collapse" borderColor=#111111 cellSpacing=0 cellPadding=4 width="100%" border=0&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD colSpan=2&gt;&lt;FONT face=Arial size=2&gt;&lt;B&gt;Creating and deploying COM Add-ins with VB.NET 2005:&lt;/B&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15&gt; &lt;/TD&gt;&lt;TD&gt;&lt;FONT face=Arial size=2&gt;Here is all the articles, written by Dennis Wallentin, that are part of the series about creating and deploying COM Add-ins with VB.NET 2005. The series has previously been published at Daily Dose of Excel during August 2006.&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15&gt;&lt;/TD&gt;&lt;TD&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15 colSpan=2&gt;&lt;FONT face=Arial size=2&gt;&lt;B&gt;Articles:&lt;/B&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15&gt; &lt;/TD&gt;&lt;TD&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT face=Arial size=2&gt;&lt;A href="http://www.excelkb.com/article.aspx?id=10197&amp;amp;cNode=4K2U2U"&gt;Introduction&lt;/A&gt; &lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT face=Arial size=2&gt;&lt;A href="http://www.excelkb.com/article.aspx?id=10198&amp;amp;cNode=4K2U2U"&gt;Connecting&lt;/A&gt;&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT face=Arial size=2&gt;&lt;A href="http://www.excelkb.com/article.aspx?id=10199&amp;amp;cNode=4K2U2U"&gt;The Notes Tool - Handling workbooks&lt;/A&gt;&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT face=Arial size=2&gt;&lt;A href="http://www.excelkb.com/article.aspx?id=10200&amp;amp;cNode=4K2U2U"&gt;The Notes Tool - Handling worksheets&lt;/A&gt;&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT face=Arial size=2&gt;&lt;A href="http://www.excelkb.com/article.aspx?id=10201&amp;amp;cNode=4K2U2U"&gt;The Notes Tool - Functions&lt;/A&gt;&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT f</description><pubDate>Tue, 19 Dec 2006 17:00:25 GMT</pubDate><dc:creator>Dennis Wallentin</dc:creator></item><item><title>Transfer Excel '07 data to SQL Server 2005 EE with ADO.NET</title><link>http://www.excelkb.com/article.aspx?id=10212</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;&lt;FONT face=Arial size=2&gt;The information in this article applies to:&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT face=Arial size=2&gt;Microsoft Excel 2007 and later.&lt;/FONT&gt; &lt;LI&gt;&lt;FONT face=Arial size=2&gt;Microsoft SQL Server 2005 EE&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT face=Arial size=2&gt;Microsoft VB.NET 2005 and later&lt;BR&gt;&lt;/FONT&gt; &lt;/LI&gt;&lt;/UL&gt;&lt;FONT face=Arial size=2&gt;External reference(s):&lt;/FONT&gt; &lt;UL&gt;&lt;LI&gt;&lt;FONT face=Arial size=2&gt;ADO.NET 2.0 and later&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;HR color=#c0c0c0 SIZE=1&gt;&lt;TABLE style="BORDER-COLLAPSE: collapse" borderColor=#111111 cellSpacing=0 cellPadding=4 width="100%" border=0&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD colSpan=2&gt;&lt;FONT face=Arial size=2&gt;&lt;B&gt;Task&lt;/B&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15&gt; &lt;/TD&gt;&lt;TD&gt;&lt;FONT face=Arial size=2&gt;Retrieve data from several identical closed worksbooks in one directory and add the retrieved data to a SQL Server 2005 EE database. &lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15&gt; &lt;/TD&gt;&lt;TD&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15 colSpan=2&gt;&lt;FONT face=Arial size=2&gt;&lt;B&gt;Code&lt;/B&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15&gt; &lt;/TD&gt;&lt;TD&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN style="FONT-SIZE: 9pt; COLOR: red; FONT-FAMILY: Arial"&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-pagination: none; mso-layout-grid-align: none"&gt;&lt;SPAN lang=EN-US style="FONT-SIZE: 9pt; COLOR: green; FONT-FAMILY: Arial; mso-ansi-language: EN-US"&gt;'Namespaces in use.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-pagination: none; mso-layout-grid-align: none"&gt;&lt;SPAN lang=EN-US style="FONT-SIZE: 9pt; COLOR: red; FONT-FAMILY: Arial; mso-ansi-language: EN-US"&gt;Imports &lt;/SPAN&gt;&lt;SPAN lang=EN-US style="FONT-SIZE: 9pt; COLOR: navy; FONT-FAMILY: Arial; mso-ansi-language: EN-US"&gt;System&lt;/SPAN&gt;&lt;SPAN lang=EN-US style="FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: Arial; mso-ansi-language: EN-US"&gt;.&lt;/SPAN&gt;&lt;SPAN lang=EN-US style="FONT-SIZE: 9pt; COLOR: navy; FONT-FAMILY: Arial; mso-ansi-language: EN-US"&gt;Da</description><pubDate>Tue, 19 Dec 2006 16:58:49 GMT</pubDate><dc:creator>Dennis Wallentin</dc:creator></item><item><title>About ExcelKB.com</title><link>http://www.excelkb.com/article.aspx?id=10214</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;&lt;STRONG&gt;About ExcelKB&lt;/STRONG&gt;&lt;SUP&gt;®&lt;/SUP&gt;&lt;STRONG&gt;.com&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;First of all, most welcome to ExcelKB.com and I hope you will find the site of interest. &lt;/P&gt;&lt;P&gt;The purpose with ExcelKB.com is to provide good practical solutions for MS Excel and to automate MS Excel as well as other softwares. &lt;/P&gt;&lt;P&gt;The aim is also to promote different kind of commercial add-ins &amp;amp; tools, especially the add-in SQL Tester, and XL-Dennis consultancy service.&lt;/P&gt;&lt;P&gt;The content of ExcelKB.com reflects the owner of XL-Dennis, Dennis Wallentin's, personal areas of interest on top of the more general knowledge and skillness in MS Excel et al. &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Terms of use&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;You may use the content here at ExcelKB.com in all kind of solutions for free. You are also allowed to set up link(s) to ExcelKB.com as well as referring to individual KB-articles via different medias.&lt;/P&gt;&lt;P&gt;But you are &lt;STRONG&gt;not&lt;/STRONG&gt; allowed to publish anything of the ExcelKB.com's content on other sites, including public and closed forums. &lt;/P&gt;&lt;P&gt;Dennis Wallentin&lt;/P&gt;&lt;P&gt;&amp;copyright; All rights reserved 1989 - 2006 XL-Dennis&lt;/P&gt;&lt;P&gt;The site and its content are protected by Swedish law and International law and is under control of XL-Dennis. &lt;BR&gt;&lt;BR&gt;XL-Dennis and ExcelKB.com are not associated with Microsoft Corporation.&lt;/P&gt;&lt;P&gt;ExcelKB&lt;SUP&gt;®&lt;/SUP&gt; is a trademark by XL-Dennis.&lt;/P&gt;</description><pubDate>Tue, 19 Dec 2006 16:56:11 GMT</pubDate><dc:creator>Dennis Wallentin</dc:creator></item><item><title>Add signature to outgoing e-mails</title><link>http://www.excelkb.com/article.aspx?id=10213</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;FONT face=Arial size=2&gt;&lt;P&gt;&lt;FONT face=Arial size=2&gt;The information in this article applies to:&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT face=Arial size=2&gt;Microsoft Excel 2000 and later.&lt;/FONT&gt; &lt;LI&gt;&lt;FONT face=Arial size=2&gt;Lotus Notes 7.01 and later.&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;HR color=#c0c0c0 SIZE=2&gt;&lt;P&gt;&lt;TABLE style="BORDER-COLLAPSE: collapse" borderColor=#111111 cellSpacing=0 cellPadding=4 width="100%" border=0&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD colSpan=2&gt;&lt;FONT face=Arial size=2&gt;&lt;B&gt;Task&lt;/B&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15&gt; &lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;FONT face=Arial size=2&gt;The procedure create and send an e-mail by:&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT face=Arial size=2&gt;Retrieving the recipients (To, CC and BCC) from ranges in the active worksheet.&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT face=Arial size=2&gt;Adding the active worksheet as an attachment to the outgoing e-mail.&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT face=Arial size=2&gt;Adding a signature to the outgoing e-mail.&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15&gt; &lt;/TD&gt;&lt;TD&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15 colSpan=2&gt;&lt;FONT face=Arial size=2&gt;&lt;B&gt;Code&lt;/B&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15&gt; &lt;/TD&gt;&lt;TD&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: red; FONT-FAMILY: 'Courier New'"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: red; FONT-FAMILY: Verdana; mso-bidi-font-family: 'Courier New'"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-pagination: none; mso-layout-grid-align: none"&gt;&lt;SPAN lang=EN-US style="FONT-SIZE: 9pt; COLOR: red; FONT-FAMILY: Verdana; mso-bidi-font-family: 'Courier New'; mso-ansi-language: EN-US"&gt;Option Explicit &lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-pagination: none; mso-layout-grid-align: none"&gt;&lt;SPAN lang=EN-US style="FONT-SIZE: 9pt; COLOR: red; FONT-FAMILY: Verdana; mso-bidi-font-family: 'Courier New'; mso-ansi-language: EN-US"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;</description><pubDate>Tue, 19 Dec 2006 16:45:16 GMT</pubDate><dc:creator>Dennis Wallentin</dc:creator></item><item><title>Creating and Deploying Managed COM add-ins with VB.NET 2005 - Part IX</title><link>http://www.excelkb.com/article.aspx?id=10206</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;&lt;STRONG&gt;&lt;FONT color=#111155&gt;Troubleshooting&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR&gt;This is by no mean an easy area and the available utilities place a high demand on the developers who need to use them. Therefore make sure You know at least how the tools work and what can be achieved with them. &lt;/P&gt;&lt;P&gt;As for troubleshooting code it’s a too large area to be covered here but in general the ’standardways’ for tracking down code issues should be applied togehter with the tools .NET offers.&lt;/P&gt;&lt;P&gt;&lt;FONT color=#5555dd&gt;Installing the&lt;/FONT&gt; &lt;A href="http://support.microsoft.com/kb/908002/en-us" target=_blank&gt;FIX: Add-ins, smart documents, or smart tags that you create by using Microsoft Visual Studio 2005 do not run in Office &lt;/A&gt;&lt;BR&gt;If the .NET Framework has been installed &lt;U&gt;after&lt;/U&gt; that the Office suite has been installed then this fix must be installed. &lt;/P&gt;&lt;P&gt;&lt;A href="http://support.microsoft.com/kb/320369/en-us" target=_blank&gt;Error Old Format or invalid type library&lt;BR&gt;&lt;/A&gt;This error is raised when a) The method requires an LCID (local identifier) and b) You run an English version of Excel but the regional settings for the computer are configured for a non-English language. The KB-article gives some workarounds for it.&lt;/P&gt;&lt;P&gt;&lt;FONT color=#5555dd&gt;Don't get garbaged collected by the .NET runtime&lt;BR&gt;&lt;/FONT&gt;&lt;FONT color=#5555dd&gt;&lt;FONT color=#111111&gt;One of the most frequent issues is that clicking on created buttons doesn't execute the underlying code after the first time click. The reason for it is that the button object has been collected and released by the Garbage Collector. &lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#5555dd&gt;&lt;FONT color=#111111&gt;The best solution is to simple declare the object at the classmodule level like the following:&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#5555dd&gt;&lt;FONT color=#111111&gt;&lt;SPAN style="COLOR: #0000dd"&gt;Private&lt;/SPAN&gt;&lt;FONT color=#000000&gt; oBtn &lt;/FONT&gt;&lt;SPAN style="COLOR: #0000dd"&gt;As&lt;/SPAN&gt;&lt;FONT color=#000000&gt; Office.CommandBarButton&lt;/FONT&gt;&lt;BR&gt;&lt;/</description><pubDate>Wed, 06 Dec 2006 11:57:39 GMT</pubDate><dc:creator>Dennis Wallentin</dc:creator></item><item><title>Add hyperlinks for e-mail addresses and URLs</title><link>http://www.excelkb.com/article.aspx?id=10211</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;&lt;FONT face=Arial size=2&gt;The information in this article applies to:&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT face=Arial size=2&gt;Microsoft Excel 2000 and later.&lt;/FONT&gt; &lt;LI&gt;&lt;FONT face=Arial size=2&gt;Lotus Notes 4.5 and later.&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;HR color=#c0c0c0 SIZE=1&gt;&lt;TABLE style="BORDER-COLLAPSE: collapse" borderColor=#111111 cellSpacing=0 cellPadding=4 width="100%" border=0&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD colSpan=2&gt;&lt;FONT face=Arial size=2&gt;&lt;B&gt;Task&lt;/B&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15&gt; &lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;FONT face=Arial size=2&gt;Add hyperlinks to e-mail address(es) and to URL(s) in outgoing e-mails with Lotus Notes. &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face=Arial size=2&gt;Important: &lt;BR&gt;When viewing a created e-mail in Lotus Notes the hyperlink(s) are not showed but they will be available for the recipients of the e-mails.&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15&gt; &lt;/TD&gt;&lt;TD&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15 colSpan=2&gt;&lt;FONT face=Arial size=2&gt;&lt;B&gt;Code&lt;/B&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15&gt; &lt;/TD&gt;&lt;TD&gt;&lt;FONT face=Arial size=2&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-pagination: none; mso-layout-grid-align: none"&gt;&lt;SPAN lang=EN-US style="FONT-SIZE: 9pt; COLOR: red; FONT-FAMILY: Verdana; mso-bidi-font-family: 'Courier New'; mso-ansi-language: EN-US"&gt;Option Explicit &lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-pagination: none; mso-layout-grid-align: none"&gt;&lt;I&gt;&lt;SPAN lang=EN-US style="FONT-SIZE: 9pt; COLOR: green; FONT-FAMILY: Verdana; mso-bidi-font-family: 'Courier New'; mso-ansi-language: EN-US"&gt;'In order to add attachment to e-mails in Lotus Notes. &lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/I&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-pagination: none; mso-layout-grid-align: none"&gt;&lt;SPAN lang=EN-US style="FONT-SIZE: 9pt; COLOR: red; FONT-FAMILY: Verdana; mso-bidi-font-family: 'Courier New'; mso-ansi-language: EN-US"&gt;Const &lt;/SPAN&gt;&lt;SPAN lang=EN-US style="FONT-SIZE: 9pt; COLOR: navy; </description><pubDate>Sat, 18 Nov 2006 17:30:25 GMT</pubDate><dc:creator>Dennis Wallentin</dc:creator></item><item><title>Using customized images in toolbars (COM Add-ins)</title><link>http://www.excelkb.com/article.aspx?id=10209</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;&lt;FONT face=Arial size=2&gt;The information in this article applies to:&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT face=Arial size=2&gt;Microsoft Excel 2000 - 2003.&lt;/FONT&gt;  &lt;LI&gt;&lt;FONT face=Arial size=2&gt;Microsoft Visual Basic 6.0 SP 6.&lt;/FONT&gt; &lt;/LI&gt;&lt;/UL&gt;&lt;HR color=#c0c0c0 SIZE=1&gt;&lt;TABLE style="BORDER-COLLAPSE: collapse" borderColor=#111111 cellSpacing=0 cellPadding=4 width="100%" border=0&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD colSpan=2&gt;&lt;FONT face=Arial size=2&gt;&lt;B&gt;Task&lt;/B&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15&gt; &lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;FONT face=Arial size=2&gt;Add customized images to toolbars for COM add-ins.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face=Arial size=2&gt;It exist two approaches to populate the button objects in toolbars with customized images. One is based on using a resource file and add the wanted images to it. In order to use this approach the images must be of the BMP format. The other one &lt;/FONT&gt;&lt;FONT face=Arial size=2&gt;&lt;FONT face=Arial size=2&gt;use a hidden form where Pictureboxes contain the customized images and then via code retrieve the images from these 'containers'.&lt;/FONT&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT face=Arial size=2&gt;&lt;FONT face=Arial size=2&gt;As for the images themselves they need, at least, have the sizes of 16x16 pixels and 32x32 pixels and if they are intended to be included in resource files then use the colourdepth of 16. &lt;BR&gt;&lt;BR&gt;As for using resource files it exist a major issue: To get the images transparent (see the first toolbar picture below)&lt;BR&gt;If we would like to solve the transparency issue the following KB-article is useful:&lt;BR&gt;&lt;A href="http://support.microsoft.com/kb/288771/en-us" target=_blank&gt;How To Create a Transparent Picture For Office Commandbar Buttons&lt;/A&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face=Arial size=2&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT face=Arial size=2&gt;No matter which approach we use we still need to use the clipboard to 'transfer' the images from the sources to the buttons. &lt;BR&gt;&lt;BR&gt;&lt;/FONT&gt;&lt;FONT face=Arial size=2&gt;The below approaches can als</description><pubDate>Thu, 16 Nov 2006 20:30:22 GMT</pubDate><dc:creator>Dennis Wallentin</dc:creator></item><item><title> Send formatted data from a range or chart as part of an e-mail's body</title><link>http://www.excelkb.com/article.aspx?id=10083</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P align=left&gt;&lt;FONT face=Arial size=2&gt;The information in this article applies to:&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT face=Arial size=2&gt;Microsoft Excel 2000 and above.&lt;/FONT&gt; &lt;LI&gt;&lt;FONT face=Arial size=2&gt;Lotus Notes 4.x and above.&lt;/FONT&gt; &lt;/LI&gt;&lt;/UL&gt;&lt;HR color=#c0c0c0 SIZE=1&gt;&lt;TABLE style="BORDER-COLLAPSE: collapse" borderColor=#111111 cellSpacing=0 cellPadding=4 width="100%" border=0&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD colSpan=2&gt;&lt;FONT face=Arial size=2&gt;&lt;B&gt;Task&lt;/B&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15&gt; &lt;/TD&gt;&lt;TD&gt;&lt;FONT face=Arial size=2&gt;Insert a pre-defined formatted range of data to be inserted as part of the bode in an outgoing e-mail.&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15&gt; &lt;/TD&gt;&lt;TD&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15 colSpan=2&gt;&lt;FONT face=Arial size=2&gt;&lt;B&gt;Code&lt;/B&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15&gt; &lt;/TD&gt;&lt;TD&gt;&lt;FONT face=Arial size=2&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-pagination: none; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 9pt; COLOR: red; FONT-FAMILY: Verdana; mso-bidi-font-family: Verdana"&gt;Option Explicit &lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-pagination: none; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 9pt; COLOR: red; FONT-FAMILY: Verdana; mso-bidi-font-family: Verdana"&gt;&lt;SPAN style="mso-spacerun: yes"&gt; &lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-pagination: none; mso-layout-grid-align: none"&gt;&lt;I&gt;&lt;SPAN style="FONT-SIZE: 9pt; COLOR: green; FONT-FAMILY: Verdana; mso-bidi-font-family: Verdana"&gt;'Function for finding the first top level window in the windows list &lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/I&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-pagination: none; mso-layout-grid-align: none"&gt;&lt;I&gt;&lt;SPAN style="FONT-SIZE: 9pt; COLOR: green; FONT-FAMILY: Verdana; mso-bidi-font-family: Verdana"&gt;'that meet the criteria. &lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/I&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0</description><pubDate>Sat, 21 Oct 2006 15:43:51 GMT</pubDate><dc:creator>Dennis Wallentin</dc:creator></item><item><title> Let the end-users select and open file(s)</title><link>http://www.excelkb.com/article.aspx?id=10141</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;&lt;FONT face=Arial size=2&gt;The information in this article applies to:&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT face=Arial size=2&gt;Microsoft Excel 2000 and later.&lt;/FONT&gt; &lt;/LI&gt;&lt;/UL&gt;&lt;HR color=#c0c0c0 SIZE=1&gt;&lt;TABLE style="BORDER-COLLAPSE: collapse" borderColor=#111111 cellSpacing=0 cellPadding=4 width="100%" border=0&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD colSpan=2&gt;&lt;FONT face=Arial size=2&gt;&lt;B&gt;Task&lt;/B&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15&gt; &lt;/TD&gt;&lt;TD&gt;&lt;FONT face=Arial size=2&gt;Let the end-users select Excel-file(s) to be open.&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15&gt; &lt;/TD&gt;&lt;TD&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15 colSpan=2&gt;&lt;FONT face=Arial size=2&gt;&lt;B&gt;Code&lt;/B&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15&gt; &lt;/TD&gt;&lt;TD&gt;&lt;FONT face=Arial size=2&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-pagination: none; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 9pt; COLOR: red; FONT-FAMILY: Verdana; mso-bidi-font-family: Verdana"&gt;Option Explicit &lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-pagination: none; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 9pt; COLOR: red; FONT-FAMILY: Verdana; mso-bidi-font-family: Verdana"&gt;&lt;SPAN style="mso-spacerun: yes"&gt; &lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-pagination: none; mso-layout-grid-align: none"&gt;&lt;B&gt;&lt;SPAN style="FONT-SIZE: 9pt; COLOR: red; FONT-FAMILY: Verdana; mso-bidi-font-family: Verdana"&gt;Sub &lt;/SPAN&gt;&lt;/B&gt;&lt;B&gt;&lt;SPAN style="FONT-SIZE: 9pt; COLOR: navy; FONT-FAMILY: Verdana; mso-bidi-font-family: Verdana"&gt;Select_Open_Files() &lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-pagination: none; mso-layout-grid-align: none"&gt;&lt;B&gt;&lt;SPAN style="FONT-SIZE: 9pt; COLOR: navy; FONT-FAMILY: Verdana; mso-bidi-font-family: Verdana"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;   &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style="FONT-SIZE: 9pt; COLOR: red; FONT-FAMILY: Verdana; mso-bidi-font-family: Verdana"&gt;D</description><pubDate>Sat, 23 Sep 2006 14:35:31 GMT</pubDate><dc:creator>Dennis Wallentin</dc:creator></item><item><title>Customize Ribbon UI for managed COM Add-ins (VB.NET 2005)</title><link>http://www.excelkb.com/article.aspx?id=10208</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;&lt;FONT face=Arial size=2&gt;The information in this article applies to:&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT face=Arial size=2&gt;Microsoft Excel 2007 and later.&lt;/FONT&gt; &lt;LI&gt;&lt;FONT face=Arial size=2&gt;Microsoft Visual Basic.NET.&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;FONT face=Arial color=#3333bb&gt;Note: This example has been developed with VB.NET 2005, .NET Framework 2.0 and with the B2TR of Excel 2007.&lt;/FONT&gt;&lt;/P&gt;&lt;HR color=#c0c0c0 SIZE=1&gt;&lt;TABLE style="BORDER-COLLAPSE: collapse" borderColor=#111111 cellSpacing=0 cellPadding=4 width="100%" border=0&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD colSpan=2&gt;&lt;FONT face=Arial size=2&gt;&lt;B&gt;Task&lt;/B&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15&gt; &lt;/TD&gt;&lt;TD&gt;&lt;FONT face=Arial size=2&gt;To make a managed COM add-in available by customizing the Ribbon UI in Excel 2007.&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15&gt; &lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;FONT face=Arial size=2&gt;In the example a separate XML file is used (NotesRibbon.XML) but it's embedded in the project. It has the following content and structure:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#111155 size=1&gt;&amp;lt;customUI xmlns="&lt;/FONT&gt;&lt;A href="http://schemas.microsoft.com/office/2006/01/customui"&gt;&lt;FONT size=1&gt;http://schemas.microsoft.com/office/2006/01/customui&lt;/FONT&gt;&lt;/A&gt;&lt;FONT size=1&gt;&lt;FONT color=#111155&gt;"&amp;gt;&lt;/FONT&gt;&lt;BR&gt;&lt;/FONT&gt;&lt;FONT color=#111155 size=1&gt;&amp;lt;ribbon startFromScratch="false"&amp;gt;&lt;BR&gt;    &amp;lt;tabs&amp;gt;&lt;BR&gt;      &amp;lt;tab id="Notes.Tab" label="Notes Tool" visible="1"&amp;gt;&lt;BR&gt;        &amp;lt;group id="Notes.Group" label="Notes Toolset" visible="1"&amp;gt;&lt;BR&gt;          &amp;lt;button id="wbk" &lt;BR&gt;                  label="Send Workbooks"&lt;BR&gt;                  screentip="Send Workbooks with Lotus Notes." &lt;BR&gt;           &amp;</description><pubDate>Thu, 21 Sep 2006 20:09:11 GMT</pubDate><dc:creator>Dennis Wallentin</dc:creator></item><item><title>Customize Ribbon UI for COM Add-ins (VB 6.0)</title><link>http://www.excelkb.com/article.aspx?id=10207</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;&lt;FONT face=Arial size=2&gt;The information in this article applies to:&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT face=Arial size=2&gt;Microsoft Excel 2007 and later.&lt;/FONT&gt;  &lt;LI&gt;&lt;FONT face=Arial size=2&gt;Microsoft Visual Basic 6.0 SP 6&lt;/FONT&gt; &lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;FONT color=#3333bb&gt;Note: This sample have been developed and tested with the B2TR of Excel 2007&lt;/FONT&gt;&lt;/P&gt;&lt;HR color=#c0c0c0 SIZE=1&gt;&lt;TABLE style="BORDER-COLLAPSE: collapse" borderColor=#111111 cellSpacing=0 cellPadding=4 width="100%" border=0&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD colSpan=2&gt;&lt;FONT face=Arial size=2&gt;&lt;B&gt;Task&lt;/B&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15&gt; &lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;FONT face=Arial size=2&gt;To make a COM add-in available by customizing the Ribbon UI. &lt;BR&gt;&lt;BR&gt;In the example a separate XML file is used (NotesRibbon.XML) which has the following content and structure:&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15&gt; &lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;FONT color=#7777bb&gt; &lt;/FONT&gt;&lt;FONT color=#111155 size=1&gt;&amp;lt;customUI xmlns="&lt;/FONT&gt;&lt;A href="http://schemas.microsoft.com/office/2006/01/customui"&gt;&lt;FONT size=1&gt;http://schemas.microsoft.com/office/2006/01/customui&lt;/FONT&gt;&lt;/A&gt;&lt;FONT size=1&gt;&lt;FONT color=#111155&gt;"&amp;gt;&lt;/FONT&gt;&lt;BR&gt;  &lt;FONT color=#111155&gt;&amp;lt;ribbon startFromScratch="false"&amp;gt;&lt;BR&gt;    &amp;lt;tabs&amp;gt;&lt;BR&gt;      &amp;lt;tab id="Notes.Tab" label="Notes Tool" visible="1"&amp;gt;&lt;BR&gt;        &amp;lt;group id="Notes.Group" label="Notes Toolset" visible="1"&amp;gt;&lt;BR&gt;          &amp;lt;button id="wbk" &lt;BR&gt;                  label="Send Workbooks"&lt;BR&gt;                  screentip="Send Workbooks with Lotus Notes." &lt;BR&gt;                  getImage="GetImage"     </description><pubDate>Thu, 21 Sep 2006 19:43:53 GMT</pubDate><dc:creator>Dennis Wallentin</dc:creator></item><item><title>Creating and Deploying Managed COM add-ins with VB.NET 2005 - Part VIII</title><link>http://www.excelkb.com/article.aspx?id=10205</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;&lt;STRONG&gt;&lt;FONT color=#111155&gt;Test and preparations&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR&gt;Before doing anything else we need to test the 'shimmed' managed COM add-in and the generated standard COM DLL. The simplest way is to first copy the 'shimmed' managed COM DLL file (together with the help file) to the folder where the generated COM DLL file is placed and then start to debug it. &lt;/P&gt;&lt;P&gt;When the COM SHIM Wizard has created the files it has also registered the generated standard COM DLL file on the developing machines. Since it's a standard COM DLL it uses the regsvr32.exe. &lt;/P&gt;&lt;P&gt;&lt;FONT color=#111155&gt;&lt;STRONG&gt;Creating the Installation Package&lt;/STRONG&gt;&lt;BR&gt;&lt;/FONT&gt;We can either add a Setup project to the Com Shim generated project or create a standalone Setup project. I prefer the later for clarity in the walkthrough. The Setup Wizard can be a good start, especially if we are inexperienced with .NET.&lt;/P&gt;&lt;P&gt;The most important aspect is to decide which files should be included in the Setup package. The following picture shows the minimal number of files for the NotesTool and as You can see a help file is also included:&lt;/P&gt;&lt;P align=center&gt;&lt;IMG hspace=0 src="http://www.excelkb.com/Attachments/d9ebb296-aa97-4015-8ff1-16be.gif" align=center border=0&gt;&lt;/P&gt;&lt;P&gt;Since the NotesLoader.dll is a standard COM DLL we need to set the Register properties for it to 'vsdrfCOMRelativePath'. As for the other files settings we can leave them as they are.&lt;/P&gt;&lt;P&gt;The following picture shows some additional entries we can add to the Setup package:&lt;/P&gt;&lt;P align=center&gt;&lt;IMG hspace=0 src="http://www.excelkb.com/Attachments/c889feaa-abe7-4f07-935e-0293.gif" align=center border=0&gt;&lt;/P&gt;&lt;P align=left&gt;&lt;BR&gt;Don't forget to add the &lt;A href="http://support.microsoft.com/kb/908002/en-us" target=_blank&gt;&lt;FONT color=#334422&gt;KB908002&lt;/FONT&gt;&lt;/A&gt; to the prerequisities for the Setup project. When building the Setup the package will include the installation package for KB908002 but You'll need to install it separately a</description><pubDate>Sat, 26 Aug 2006 17:00:33 GMT</pubDate><dc:creator>Dennis Wallentin</dc:creator></item><item><title>Creating and Deploying Managed COM add-ins with VB.NET 2005 - Part V</title><link>http://www.excelkb.com/article.aspx?id=10201</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;For all code posted here I have intentionally tried to avoid a) the core .NET-approach and b) the use of classes. Instead I have tried to focus on clarity and to use a simple classic VB/VBA -approach.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color=#111155&gt;Notes Tool - The Functions&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR&gt;Below is all the functions and subs that are in a standard module (Notes.vb). &lt;/P&gt;&lt;DIV class=vb&gt;&lt;SPAN style="COLOR: #007f00"&gt;'Namespaces used in the module:&lt;/SPAN&gt;&lt;BR&gt;Imports Domino &lt;SPAN style="COLOR: #007f00"&gt;'To access the objects in the Domino class.&lt;/SPAN&gt;&lt;BR&gt;Imports Excel = Microsoft.Office.Interop.Excel &lt;SPAN style="COLOR: #007f00"&gt;'To access Excel's objects.&lt;/SPAN&gt;&lt;BR&gt;Imports System.Windows.Forms &lt;SPAN style="COLOR: #007f00"&gt;'To use the Messagebox objects.&lt;/SPAN&gt;&lt;BR&gt;Imports System.IO &lt;SPAN style="COLOR: #007f00"&gt;'To handle files.&lt;/SPAN&gt;&lt;BR&gt;Imports System.Diagnostics &lt;SPAN style="COLOR: #007f00"&gt;'Open URL and show helpfile (.CHM)&lt;/SPAN&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="COLOR: #0000dd"&gt;Module&lt;/SPAN&gt; NotesMod&lt;BR&gt;    &lt;SPAN style="COLOR: #007f00"&gt;'Friend makes the variables available for the whole project.&lt;/SPAN&gt;&lt;BR&gt;    &lt;SPAN style="COLOR: #0000dd"&gt;Friend&lt;/SPAN&gt; &lt;SPAN style="COLOR: #0000dd"&gt;Const&lt;/SPAN&gt; g_CONST_TITLE &lt;SPAN style="COLOR: #0000dd"&gt;As&lt;/SPAN&gt; &lt;SPAN style="COLOR: #0000dd"&gt;String&lt;/SPAN&gt; = &lt;SPAN style="COLOR: #ff0000"&gt;"Send e-mail with Lotus Notes"&lt;/SPAN&gt;&lt;BR&gt;    &lt;SPAN style="COLOR: #007f00"&gt;'Excel variables.&lt;/SPAN&gt;&lt;BR&gt;    &lt;SPAN style="COLOR: #0000dd"&gt;Friend&lt;/SPAN&gt; g_xlApp &lt;SPAN style="COLOR: #0000dd"&gt;As&lt;/SPAN&gt; Excel.Application&lt;BR&gt;    &lt;SPAN style="COLOR: #0000dd"&gt;Friend&lt;/SPAN&gt; g_xlRng &lt;SPAN style="COLOR: #0000dd"&gt;As&lt;/SPAN&gt; Excel.Range&lt;BR&gt;    &lt;SPAN style="COLOR: #0000dd"&gt;Friend&lt;/SPAN&gt; g_xlcell &lt;SPAN style="COLOR: #0000dd"&gt;As&lt;/SPAN&gt; Excel.Range&lt;BR&gt;    &lt;SPAN style="COLOR: #0000dd"&gt;Friend&lt;/SPAN&gt; g_xlwsSheet &lt;SPAN style="COLOR: #0000dd"&gt;As&lt;/SPAN&gt; Excel.Worksheet&lt;BR&gt;    &lt;SPAN style="COLOR: #0000dd"&gt;Frien</description><pubDate>Sat, 26 Aug 2006 16:51:10 GMT</pubDate><dc:creator>Dennis Wallentin</dc:creator></item><item><title>Creating and Deploying Managed COM add-ins with VB.NET 2005 - Part VII</title><link>http://www.excelkb.com/article.aspx?id=10203</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;&lt;FONT color=#111155&gt;&lt;STRONG&gt;Strong Names and Digital codesign&lt;BR&gt;&lt;/STRONG&gt;&lt;/FONT&gt;In general I’m an advocator of software’s security and therefore I see it as important to dedicate a post on security when it comes to COM add-ins as well. For a general introduction to Office 2003 security please see the following URL: &lt;A href="http://office.microsoft.com/en-gb/assistance/HA011403061033.aspx" target=_blank&gt;&lt;FONT color=#000052&gt;Security&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color=#111155&gt;Using Strong Name Signatures for 'shimmed' managed COM add-ins&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR&gt;I started to make a write up on the subject but had difficulties to keep the focus on the essential parts in view of the subject for the series. I then recalled that there recently was an article published in the MSDN Magazine and I was glad when I also found it on the web. The article is good in my opinion and it’s worth reading the whole article, &lt;A href="http://msdn.microsoft.com/msdnmag/issues/06/07/CLRInsideOut/default.aspx" target=_blank&gt;&lt;FONT color=#000052&gt;CLR Inside Out - Using Strong Name Signatures&lt;/FONT&gt;&lt;/A&gt;. At the bottom of the article Mike Downen also brings up Windows Authenticode.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color=#111155&gt;Digital sign generated standard COM DLLs&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR&gt;This can be applied for both standard COM add-ins, for instance developed with VB 6.0, and generated standard COM DLLs with the COM Shim Wizard. &lt;/P&gt;&lt;P&gt;In order to digital sign DLLs we need a certificate to use which can be bought from a security company like &lt;A href="http://www.thawte.com/" target=_blank&gt;&lt;FONT color=#000052&gt;Thawte &lt;/FONT&gt;&lt;/A&gt;or &lt;A href="http://www.verisign.com/" target=_blank&gt;&lt;FONT color=#000052&gt;Verisign&lt;/FONT&gt;&lt;/A&gt; . I use Thawte and I’m both pleased with their certificate and with their service.&lt;/P&gt;&lt;P&gt;To sign a DLL we need to use the SignTool.exe in the following way:&lt;/P&gt;&lt;P&gt;a. Locate the SignTool.exe file on the drive&lt;BR&gt;(one location can be c:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin)&lt;</description><pubDate>Sat, 26 Aug 2006 14:03:22 GMT</pubDate><dc:creator>Dennis Wallentin</dc:creator></item><item><title>Creating and deploying Managed COM add-ins with VB.NET 2005 - Part IV</title><link>http://www.excelkb.com/article.aspx?id=10200</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;For all code posted here I have intentionally tried to avoid a) the core .NET-approach and b) the use of classes. Instead I have tried to focus on clarity and to use a simple classic VB/VBA -approach.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color=#111155&gt;The Notes Tool - Handle worksheets&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR&gt;The way the tool handles worksheets is similar to how it handles workbooks. Therefore only code behind the form that is unique for worksheets is presented. Below is the form that that provides end users with an interface to populate required parameters:&lt;/P&gt;&lt;P align=center&gt;&lt;IMG hspace=0 src="http://www.excelkb.com/Attachments/63aaca6b-f4e4-476f-b173-0e03.gif" align=center border=0&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color=#111155&gt;The code&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR&gt;Make sure that the following namespaces exist in the form:&lt;/P&gt;&lt;DIV class=vb&gt;Imports Excel = Microsoft.Office.Interop.Excel&lt;BR&gt;Imports System.Windows.Forms&lt;BR&gt;Imports System.IO &lt;SPAN style="COLOR: #007f00"&gt;'To handle files. &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=vb&gt;&lt;SPAN style="COLOR: #007f00"&gt;&lt;/SPAN&gt; &lt;/DIV&gt;&lt;DIV class=vb&gt;&lt;SPAN style="COLOR: #007f00"&gt;&lt;FONT color=#000000&gt;The following snippet code is part of the Load event for the form:&lt;BR&gt;&lt;BR&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=vb&gt;&lt;SPAN style="COLOR: #007f00"&gt;&lt;DIV class=vb&gt;&lt;SPAN style="COLOR: #007f00"&gt;'Populate the listbox of open workbooks.&lt;/SPAN&gt;&lt;BR&gt;&lt;SPAN style="COLOR: #0000dd"&gt;For&lt;/SPAN&gt; &lt;SPAN style="COLOR: #0000dd"&gt;Each&lt;/SPAN&gt; g_xlwbBook &lt;SPAN style="COLOR: #0000dd"&gt;In&lt;/SPAN&gt; g_xlApp.Workbooks&lt;BR&gt;&lt;SPAN style="COLOR: #0000dd"&gt;  Me&lt;/SPAN&gt;.ListBox_Workbooks.Items.Add&lt;SPAN style="COLOR: #008800"&gt;(&lt;/SPAN&gt;g_xlwbBook.&lt;SPAN style="COLOR: #0000dd"&gt;Name&lt;/SPAN&gt;&lt;SPAN style="COLOR: #008800"&gt;)&lt;/SPAN&gt;&lt;BR&gt;&lt;SPAN style="COLOR: #0000dd"&gt;Next&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=vb&gt;&lt;SPAN style="COLOR: #0000dd"&gt;&lt;/SPAN&gt; &lt;/DIV&gt;&lt;DIV class=vb&gt;&lt;SPAN style="COLOR: #0000dd"&gt;&lt;FONT color=#111111&gt;The below event is used to populate the list of worksheets:&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=vb&gt;&lt;SPAN style="CO</description><pubDate>Sat, 26 Aug 2006 12:32:33 GMT</pubDate><dc:creator>Dennis Wallentin</dc:creator></item><item><title>Creating and Deploying Managed COM add-ins with VB.NET 2005 - Part II</title><link>http://www.excelkb.com/article.aspx?id=10198</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;For all code posted here I have intentionally tried to avoid a) the core .NET-approach and b) the use of classes. Instead I have tried to focus on clarity and to use a simple classic VB/VBA -approach.&lt;/P&gt;&lt;P&gt;&lt;FONT color=#111155&gt;&lt;STRONG&gt;What is the Shared add-in?&lt;/STRONG&gt;&lt;BR&gt;&lt;/FONT&gt;In my opinion the following quote defines the Shared add-in a good way:&lt;BR&gt;"The Extensibility Wizard creates a Visual Basic .NET class library project along with a Connect class that implements the IDTExtensibility2 interface. The skeleton code that implements the empty members of IDTExtensibility is also generated. This project has references to Extensibility and Office assemblies. The build settings of the project have Register for COM Interop selected. Along with the class library project, the wizard generates a setup project that you can use to deploy the COM add-in on other computers." - See &lt;A href="http://support.microsoft.com/kb/302896/" target=_blank&gt;&lt;FONT color=#000052&gt;How To Build an Office COM Add-in by Using Visual Basic .NET&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The wizard also provide a step to determine the loadbehavior where load on startup of Excel is the default value, i e the value of 3 (1 = Connect + 2 = Bootload (Load on Excel startup). &lt;/P&gt;&lt;P&gt;&lt;FONT color=#111155&gt;&lt;STRONG&gt;Debug configuration&lt;/STRONG&gt;&lt;BR&gt;&lt;/FONT&gt;Before starting to debug we must make sure that we use Excel by changing the default setting of 'Start external program' under the Debug Tab and point to the Excel.exe file. The easiest way to do it is to right click on 'My project' in the Solution Explorer windows and then select the Debug tab.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color=#111155&gt;The code for connection to Excel and creating the commandbar&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR&gt;Below is the code in the 'Connect'-class module where only the vital parts are showed:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="COLOR: #007f00"&gt;'Make sure that all the wanted references have been set up before doing the imports.&lt;/SPAN&gt;&lt;BR&gt;Imports Excel = Microsoft.Office.Interop.Excel &lt;SPAN</description><pubDate>Sat, 26 Aug 2006 12:07:47 GMT</pubDate><dc:creator>Dennis Wallentin</dc:creator></item><item><title>Creating and Deploying Managed COM add-ins with VBV.NET 2005 - Part I</title><link>http://www.excelkb.com/article.aspx?id=10197</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;I thought it would be of common interest to take a closer look into what VB.NET 2005 can offer when it comes to creating and deploying COM add-ins for Excel. &lt;/P&gt;&lt;P&gt;In order to create a useful tool I decided to challenge how to work with the Domino object class by using early binding to control Lotus Notes. The tool itself will make it possible to attach workbooks or worksheets to outgoing e-mails with Lotus Notes. &lt;/P&gt;&lt;P&gt;&lt;FONT color=#111155&gt;&lt;STRONG&gt;What does ‘Managed’ stand for?&lt;/STRONG&gt;&lt;BR&gt;&lt;/FONT&gt;All solutions that require the Common Language Runtime (CLR - part of the .NET Framework) are considered managed, which include all solutions developed with any tool in the Visual Studio.NET suite and with Visual Studio Tools for Office System (VSTO). Solutions developed with classic VB 6.0 and Excel’s VBA are unmanaged solutions.&lt;/P&gt;&lt;P&gt;Since Excel per se is an unmanaged environment we are, from a strictly technical point of view, about to create a managed solution which is supposed to be implemented on an unmanaged platform. &lt;/P&gt;&lt;P&gt;Anyway, for those of You who want to know more about the CLR the following URL provides a good introduction: &lt;A href="http://msdn.microsoft.com/netframework/programming/clr/default.aspx" target=_blank&gt;&lt;FONT color=#000052&gt;The Common Language Runtime&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color=#111155&gt;Required tools and configuration&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR&gt;In order to create the COM add-in the following tools are required:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Microsoft Excel 2003 and later.&lt;/LI&gt;&lt;LI&gt;The Primary Interop Assemblies (PIA) for Microsoft Office 2003 and later.&lt;/LI&gt;&lt;LI&gt;Lotus Notes 7.01 and later in order to use the sample tool.&lt;/LI&gt;&lt;LI&gt;Microsoft Visual Studio.NET 2005 and later, which include the template 'Shared Add-in'.&lt;/LI&gt;&lt;LI&gt;Microsoft .NET Framework 2.0 and later.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;FONT color=#111199&gt;Two important settings in VB.NET are:&lt;/FONT&gt;&lt;BR&gt;Option Explicit On (Status by default)&lt;BR&gt;Option Strict On (Not by default which force explicit nar</description><pubDate>Sat, 26 Aug 2006 12:07:20 GMT</pubDate><dc:creator>Dennis Wallentin</dc:creator></item><item><title>Creating and deploying Managed COM add-ins with VB.NET 2005 - Part III</title><link>http://www.excelkb.com/article.aspx?id=10199</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;For all code posted here I have intentionally tried to avoid a) the core .NET-approach and b) the use of classes. Instead I have tried to focus on clarity and to use a simple classic VB/VBA -approach.&lt;/P&gt;&lt;P&gt;&lt;FONT color=#111155&gt;&lt;STRONG&gt;The Notes Tool - Handle workbooks&lt;/STRONG&gt;&lt;BR&gt;&lt;/FONT&gt;With this post I will start to cover the tool itself which target on sending workbooks or worksheets as attachments to outgoing e-mails with Lotus Notes. The first option is to send workbooks as attachments and below is the form that provides end users with an interface to populate required parameters:&lt;/P&gt;&lt;P align=center&gt;&lt;IMG hspace=0 src="http://www.excelkb.com/Attachments/354d07f1-3c1b-4fd5-b0a3-95a3.gif" align=center border=0&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR&gt;&lt;FONT color=#111155&gt;The code&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR&gt;The following code is part of the above form where only the most vital parts are showed.&lt;/P&gt;&lt;DIV class=vb&gt;&lt;SPAN style="COLOR: #007f00"&gt;'The following namesspaces are required for the code behind the form.&lt;/SPAN&gt;&lt;BR&gt;Imports Excel = Microsoft.Office.Interop.Excel&lt;BR&gt;Imports System.Windows.Forms&lt;/DIV&gt;&lt;P&gt;When the form is initialized the following procedure populates some items of the form:&lt;/P&gt;&lt;DIV class=vb&gt;&lt;SPAN style="COLOR: #0000dd"&gt;Private&lt;/SPAN&gt; &lt;SPAN style="COLOR: #0000dd"&gt;Sub&lt;/SPAN&gt; frmwbook_Load&lt;SPAN style="COLOR: #008800"&gt;(&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000dd"&gt;ByVal&lt;/SPAN&gt; sender &lt;SPAN style="COLOR: #0000dd"&gt;As&lt;/SPAN&gt; System.&lt;SPAN style="COLOR: #0000dd"&gt;Object&lt;/SPAN&gt;, &lt;SPAN style="COLOR: #0000dd"&gt;ByVal&lt;/SPAN&gt; e &lt;SPAN style="COLOR: #0000dd"&gt;As&lt;/SPAN&gt; System.EventArgs&lt;SPAN style="COLOR: #008800"&gt;)&lt;/SPAN&gt; Handles MyBase.Load&lt;BR&gt;        Try&lt;BR&gt;            &lt;SPAN style="COLOR: #007f00"&gt;'Create the collection of items for the priority status.&lt;/SPAN&gt;&lt;BR&gt;            &lt;SPAN style="COLOR: #007f00"&gt;'I have not discovered any smooth way to align items in a combobox...&lt;/SPAN&gt;&lt;BR&gt;         </description><pubDate>Sat, 26 Aug 2006 12:06:56 GMT</pubDate><dc:creator>Dennis Wallentin</dc:creator></item><item><title>Where does Windows Registry store the information about Add-ins?</title><link>http://www.excelkb.com/article.aspx?id=10193</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;SPAN id=_ctl0_ArticleRepeater__ctl1_ArticleText&gt;&lt;P&gt;&lt;FONT face=Arial&gt;The information in this article applies to:&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT face=Arial&gt;Microsoft Excel 2000 and later.&lt;/FONT&gt; &lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;P&gt;&lt;HR color=#c0c0c0 SIZE=1&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since Microsoft Excel can handle several different types of add-ins the best approach to try to answer the question is to use these categories. &lt;/P&gt;&lt;P&gt;In general add-ins can be divided into the following categories:&lt;/P&gt;&lt;P&gt;• XLA Add-ins (Add-ins created with Excel 2007 have the file extension XLAM)&lt;BR&gt;• XLL Add-ins &lt;BR&gt;• Automation Add-ins (available from version 2002 and on forward)&lt;BR&gt;• COM Add-ins for Excel's user interface &lt;BR&gt;• COM Add-ins for the VB-editor&lt;/P&gt;&lt;P&gt;&lt;FONT color=#5555dd&gt;&lt;STRONG&gt;XLAs&lt;/STRONG&gt;&lt;BR&gt;&lt;/FONT&gt;XLAs are easy to locate in Windows registry as they only appear in two places. &lt;BR&gt;&lt;BR&gt;If they are available and activated Windows stores the information at the following place: &lt;FONT color=#5555dd&gt;HKEY_CURRENT_USER\Software\Microsoft\Office\&amp;lt;Version number&amp;gt;\Excel\Options&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;If they are available but deactivated Windows stores the information at the following place:&lt;BR&gt;&lt;FONT color=#5555dd&gt;HKEY_CURRENT_USER\Software\Microsoft\Office\&amp;lt;Versionnumber&amp;gt;\Excel\Add-in Manager&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;"Version number" refer here to the internal number version of Excel like 9.0, 10.0, and 11.0. &lt;/P&gt;&lt;P&gt;The XLAs, that are shipped with Microsoft Excel, is not located in the Add-in Manager section when deactivated instead they can be found in the HKEY_CLASSES_ROOT like the following example:&lt;BR&gt;&lt;FONT color=#5555dd&gt;HKEY_CLASSES_ROOT\Installer\Components\C848331AADAA4D11298D0001A58916F6&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#5555dd&gt;&lt;STRONG&gt;XLLs&lt;BR&gt;&lt;/STRONG&gt;&lt;/FONT&gt;Despite the technical differences between XLAs and XLLs Windows registry store the information about XLLs in an identical way as for the XLAs.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color=#5555dd&gt;Automation Add-ins&lt;BR&gt;&lt;/FONT&gt;&lt;/STRONG&gt;Compared with XLAs and XL</description><pubDate>Sat, 26 Aug 2006 12:05:03 GMT</pubDate><dc:creator>Dennis Wallentin</dc:creator></item><item><title>Restore the Help Viewer</title><link>http://www.excelkb.com/article.aspx?id=10194</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;&lt;FONT face=Arial size=2&gt;The information in this article applies to:&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT face=Arial size=2&gt;Microsoft Visual Studio.NET 2005 and the local Document Help Explorer.&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;HR color=#c0c0c0 SIZE=1&gt;&lt;TABLE style="BORDER-COLLAPSE: collapse" borderColor=#111111 cellSpacing=0 cellPadding=4 width="100%" border=0&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD colSpan=2&gt;&lt;FONT face=Arial size=2&gt;&lt;B&gt;Background&lt;/B&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15&gt; &lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;FONT face=Arial size=2&gt;When I upgraded to 2005 (a clean installation) I got a problem to view the content of the local document helper. Whenever I tried to access it I received the message "Cannot find the server" and I was only able to get the search function to work.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face=Arial size=2&gt;When I was logged in under a different account I accidentaly started Visual Studio and the integrated Help worked as expected. Further investigation led me to the folder Temporary Internet Files.&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15&gt; &lt;/TD&gt;&lt;TD&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15 colSpan=2&gt;&lt;FONT face=Arial size=2&gt;&lt;B&gt;Actions&lt;/B&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15&gt; &lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;FONT face=Arial size=2&gt;1. Logoff from the account where the issue exist.&lt;BR&gt;2. Login to another account which must be of the type Computer Administrator.&lt;BR&gt;3. Locate the folder Temporary Internet Files for the account in step 1.&lt;BR&gt;4. Delete the folder (Windows will create a new folder).&lt;BR&gt;5. Logoff from the account in step 2.&lt;BR&gt;6. Login to the account in step 1.&lt;BR&gt;7. That's it!&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15&gt; &lt;/TD&gt;&lt;TD&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15 colSpan=2&gt;&lt;FONT face=Arial size=2&gt;&lt;B&gt;Comments&lt;/B&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15&gt; &lt;/TD&gt;&lt;TD&gt;&lt;FONT face=Arial size=2&gt;The above solution works for my production computer and hopefully it can solve other developer's similar issue as well.&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width=15&gt; &lt;/TD&gt;&lt;TD&gt;&amp;nbs</description><pubDate>Sun, 11 Jun 2006 15:57:35 GMT</pubDate><dc:creator>Dennis Wallentin</dc:creator></item></channel></rss>