<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://excelusergroup.org/utility/FeedStylesheets/atom.xsl" media="screen"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en"><title type="html">Nick Hodge&amp;#39;s Excel Blog</title><subtitle type="html">A blog of articles, posts and pages discussing topics around Excel.  Basic, Intermediate and Advanced</subtitle><id>http://excelusergroup.org/blogs/nickhodge/atom.aspx</id><link rel="alternate" type="text/html" href="http://excelusergroup.org/blogs/nickhodge/default.aspx" /><link rel="self" type="application/atom+xml" href="http://excelusergroup.org/blogs/nickhodge/atom.aspx" /><generator uri="http://communityserver.org" version="4.0.30619.63">Community Server</generator><updated>2008-08-22T08:37:00Z</updated><entry><title>UK Excel Developers Conference</title><link rel="alternate" type="text/html" href="/blogs/nickhodge/archive/2010/06/15/uk-excel-developers-conference.aspx" /><id>/blogs/nickhodge/archive/2010/06/15/uk-excel-developers-conference.aspx</id><published>2010-06-15T21:35:00Z</published><updated>2010-06-15T21:35:00Z</updated><content type="html">&lt;p&gt;All&lt;/p&gt;
&lt;p&gt;Wanted to pass along details of a great event happening for Excel Developers in London on July 12th 2010.&lt;/p&gt;
&lt;p&gt;With confirmed presenters of Simon Murphy and Charles Williams and focussing on high-end developers in Excel including VSTO, Excel 2010 and VS2010, it will be well worth the &amp;pound;150 fee for the day.&lt;/p&gt;
&lt;p&gt;&lt;a target="_blank" href="http://smurfonspreadsheets.wordpress.com/2010/06/09/excel-developer-conference-london-monday-july-12-2010/" title="UK Excel Developers Conference"&gt;Detail Here&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://excelusergroup.org/aggbug.aspx?PostID=7072" width="1" height="1"&gt;</content><author><name>Nick_Hodge</name><uri>http://excelusergroup.org/members/Nick_5F00_Hodge/default.aspx</uri></author></entry><entry><title>World Cup Fantasy Football Model</title><link rel="alternate" type="text/html" href="/blogs/nickhodge/archive/2010/06/10/world-cup-fantasy-football-model.aspx" /><link rel="enclosure" type="application/zip" length="56298" href="http://www.nickhodge.co.uk/blog/wp-content/files/World%20Cup%202010%20(2007%20Auto).zip" /><id>/blogs/nickhodge/archive/2010/06/10/world-cup-fantasy-football-model.aspx</id><published>2010-06-10T22:43:00Z</published><updated>2010-06-10T22:43:00Z</updated><content type="html">&lt;p&gt;Written for Excel 2007 and 2010, I have uploaded a model which allows you to run a fantasy football league for friends, colleagues, etc. You just add their names, enter the scores and the rest is done.&lt;/p&gt;
&lt;p&gt;automatically updates and sorts league tables and all formulas and code is open for all to see&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Have fun (I dare say this could be adapted for future tournaments?)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://excelusergroup.org/aggbug.aspx?PostID=7027" width="1" height="1"&gt;</content><author><name>admin</name><uri>http://excelusergroup.org/members/admin/default.aspx</uri></author><category term="Football World Cup" scheme="http://excelusergroup.org/blogs/nickhodge/archive/tags/Football+World+Cup/default.aspx" /><category term="Excel 2010" scheme="http://excelusergroup.org/blogs/nickhodge/archive/tags/Excel+2010/default.aspx" /></entry><entry><title>You Need To Buy This…</title><link rel="alternate" type="text/html" href="/blogs/nickhodge/archive/2009/11/03/you-need-to-buy-this.aspx" /><id>/blogs/nickhodge/archive/2009/11/03/you-need-to-buy-this.aspx</id><published>2009-11-03T16:11:09Z</published><updated>2009-11-03T16:11:09Z</updated><content type="html">&lt;p&gt;All&lt;/p&gt;  &lt;p&gt;John Walkenbach is having a blow-out sale on his Power Utility Pak for Excel with 80% off!&lt;/p&gt;  &lt;p&gt;To be sure of getting your copy you need to &lt;a href="http://www.spreadsheetpage.com/index.php/twohoursale" target="_blank"&gt;head over here&lt;/a&gt; between the hours of 4pm and 6pm (GMT) to qualify.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://excelusergroup.org/aggbug.aspx?PostID=5058" width="1" height="1"&gt;</content><author><name>Nick_Hodge</name><uri>http://excelusergroup.org/members/Nick_5F00_Hodge/default.aspx</uri></author><category term="Add-Ins" scheme="http://excelusergroup.org/blogs/nickhodge/archive/tags/Add-Ins/default.aspx" /></entry><entry><title>Excel User Conference next week</title><link rel="alternate" type="text/html" href="/blogs/nickhodge/archive/2009/10/02/excel-user-conference-next-week.aspx" /><id>/blogs/nickhodge/archive/2009/10/02/excel-user-conference-next-week.aspx</id><published>2009-10-02T06:08:19Z</published><updated>2009-10-02T06:08:19Z</updated><content type="html">&lt;p&gt;As some of you will know, the boys (Bob, Charles, Simon, Andy, Roger and myself) are presenting another FREE series of courses at Microsoft’s Office in Cardinal Place, London for 2 days on October 7th/8th.&lt;/p&gt;  &lt;p&gt;This is a repeat of the hugely oversubscribed event in April where we had over 120 reserves who places couldn’t be found for. So far we have around 100 attending so places left for around another 20 on either or both days.&lt;/p&gt;  &lt;p&gt;If you fancy coming along to this great FREE event (except accommodation and evening entertainment) then drop a line to bookings at excelusergroup dot org. (re-assemble as indicated)&lt;/p&gt;  &lt;p&gt;Should be great fun&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://excelusergroup.org/aggbug.aspx?PostID=4851" width="1" height="1"&gt;</content><author><name>Nick_Hodge</name><uri>http://excelusergroup.org/members/Nick_5F00_Hodge/default.aspx</uri></author><category term="Conference" scheme="http://excelusergroup.org/blogs/nickhodge/archive/tags/Conference/default.aspx" /></entry><entry><title>Useless Fact Of The Day</title><link rel="alternate" type="text/html" href="/blogs/nickhodge/archive/2009/07/06/useless_2D00_fact_2D00_of_2D00_the_2D00_day.aspx" /><id>/blogs/nickhodge/archive/2009/07/06/useless_2D00_fact_2D00_of_2D00_the_2D00_day.aspx</id><published>2009-07-06T06:27:51Z</published><updated>2009-07-06T06:27:51Z</updated><content type="html">&lt;p&gt;&lt;a href="http://excelusergroup.org/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/Day-40_2C00_000_5F00_2.jpg" target="_blank"&gt;&lt;img style="border-right-width:0px;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;" border="0" alt="Day 40,000" src="http://excelusergroup.org/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/Day-40_2C00_000_5F00_thumb.jpg" width="524" height="499" /&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;Excel uses a date system based on it&amp;#39;s official start date of 01/01/1900. Days are whole numbers and decimals are time values, so, for example if you type 01/01/1900 12:00 into Excel and then go to Format it as &amp;#39;General&amp;#39; you will see behind the date and time sits a value, which should be 1.5 (Day 1 and half a day in time).&lt;/p&gt; &lt;p&gt;Why all this nauseam? Well, today is 40,000. Having struggled with Excel through the 30,000&amp;#39;s today feels like the first day of the rest of my life ;-)&lt;/p&gt; &lt;p&gt;Caveat: It isn&amp;#39;t actually the 40,000 day since 01/01/1900 as Microsoft, to keep compatibility with Lotus 1-2-3 which was the leading spreadsheet of the day, duplicated the error that Lotus had that 1900 was a leap year and included 29th February. Of course it wasn&amp;#39;t so I guess day 40,000 is actually tomorrow????&lt;/p&gt; &lt;p&gt;For loads of other great time and date stuff go to:&lt;/p&gt; &lt;p&gt;&lt;a href="http://www.cpearson.com/excel/datetime.htm"&gt;www.cpearson.com/excel/datetime.htm&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://excelusergroup.org/aggbug.aspx?PostID=4416" width="1" height="1"&gt;</content><author><name>Nick_Hodge</name><uri>http://excelusergroup.org/members/Nick_5F00_Hodge/default.aspx</uri></author></entry><entry><title>Office 2007 SP2 Released</title><link rel="alternate" type="text/html" href="/blogs/nickhodge/archive/2009/04/29/office-2007-sp2-released.aspx" /><id>/blogs/nickhodge/archive/2009/04/29/office-2007-sp2-released.aspx</id><published>2009-04-29T20:39:00Z</published><updated>2009-04-29T20:39:00Z</updated><content type="html">&lt;p&gt;Office SP2 has been released officially &lt;a target="_blank" href="http://www.microsoft.com/downloads/details.aspx?FamilyId=B444BF18-79EA-46C6-8A81-9DB49B4AB6E5&amp;amp;displaylang=en%20"&gt;here&lt;/a&gt;. The list of changes against Excel seems fairly small but having been running the beta for some time it does seem quite a bit better, additionally there are improvements across the suite, probably most noticeably the speed in Outlook.&lt;/p&gt;
&lt;p&gt;Additionally support has been added for the Open Document Format (ODF) which is &amp;#39;compatible&amp;#39; with stuff like Google Documents, although there are some areas where that just doesn&amp;#39;t work, but expect that to get better over time. Here is the link to &lt;a target="_blank" href="http://support.microsoft.com/kb/953195"&gt;what has been changed&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#ff0000;"&gt;&lt;strong&gt;UPDATE:&lt;/strong&gt;&lt;span style="color:#000000;"&gt;&lt;strong&gt; &lt;/strong&gt;I&amp;#39;m grateful to Stan Scott of New York, who forwarded me a &lt;a target="_blank" href="http://excelusergroup.org/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/SP2-Changes.xls"&gt;document containing all the changes to all applications in Office 2007 SP2&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://excelusergroup.org/aggbug.aspx?PostID=4050" width="1" height="1"&gt;</content><author><name>Nick_Hodge</name><uri>http://excelusergroup.org/members/Nick_5F00_Hodge/default.aspx</uri></author><category term="Excel 2007" scheme="http://excelusergroup.org/blogs/nickhodge/archive/tags/Excel+2007/default.aspx" /><category term="Service Packs" scheme="http://excelusergroup.org/blogs/nickhodge/archive/tags/Service+Packs/default.aspx" /></entry><entry><title>Excel User Conference Piccies</title><link rel="alternate" type="text/html" href="/blogs/nickhodge/archive/2009/04/05/excel-user-group-piccies.aspx" /><id>/blogs/nickhodge/archive/2009/04/05/excel-user-group-piccies.aspx</id><published>2009-04-05T01:59:00Z</published><updated>2009-04-05T01:59:00Z</updated><content type="html">&lt;p&gt;&lt;a href="http://excelusergroup.org/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/IMG_5F00_0187.jpg"&gt;&lt;img height="244" width="164" src="http://excelusergroup.org/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/IMG_5F00_0187_5F00_thumb.jpg" align="left" alt="IMG_0187" border="0" style="border-bottom:0px;border-left:0px;margin:0px 10px 10px 0px;border-top:0px;border-right:0px;" /&gt;&lt;/a&gt; Bob Phillips kindly took a few pictures of the recent conference which by his own admission he should have taken more of. It shows all the presenters, except, of course Bob and gives you a flavour that there where plenty of delegates and lots of &amp;#39;action&amp;#39;. What was Simon Murphy doing? Although he is an &amp;#39;all action&amp;#39; speaker.&lt;/p&gt;
&lt;p&gt;Thanks for taking those Bob and I agree, more next time.&lt;/p&gt;
&lt;p&gt;For those delegates wondering, the links to the slide decks and the files should be uploaded by tomorrow, (Monday 6th April) and we will email with the link(s)&lt;/p&gt;
&lt;p&gt;&lt;a target="_blank" href="http://picasaweb.google.co.uk/xld.bob/EUC2009?authkey=Gv1sRgCInI_OSvi8iHgQE"&gt;Here is the URL&lt;/a&gt; (for the photos)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://excelusergroup.org/aggbug.aspx?PostID=3863" width="1" height="1"&gt;</content><author><name>Nick_Hodge</name><uri>http://excelusergroup.org/members/Nick_5F00_Hodge/default.aspx</uri></author><category term="Conference" scheme="http://excelusergroup.org/blogs/nickhodge/archive/tags/Conference/default.aspx" /></entry><entry><title>Excel User Conference 2009</title><link rel="alternate" type="text/html" href="/blogs/nickhodge/archive/2009/03/31/excel-user-conference-2009.aspx" /><id>/blogs/nickhodge/archive/2009/03/31/excel-user-conference-2009.aspx</id><published>2009-03-31T20:57:43Z</published><updated>2009-03-31T20:57:43Z</updated><content type="html">&lt;p&gt;Tomorrow sees the start of the two day event at Microsoft&amp;#39;s cardinal Place site in London. We have some great speakers and topics lined up and the event has been oversubscribed since about a week after it was announced. That I think is a measure of what a great event it should be.&lt;/p&gt; &lt;p&gt;Watch this space for updates afterwards and hopefully we will also get some files too.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://excelusergroup.org/aggbug.aspx?PostID=3835" width="1" height="1"&gt;</content><author><name>Nick_Hodge</name><uri>http://excelusergroup.org/members/Nick_5F00_Hodge/default.aspx</uri></author><category term="Conference" scheme="http://excelusergroup.org/blogs/nickhodge/archive/tags/Conference/default.aspx" /></entry><entry><title>Today's Large Data Set</title><link rel="alternate" type="text/html" href="/blogs/nickhodge/archive/2009/02/24/today-s-large-data-set.aspx" /><id>/blogs/nickhodge/archive/2009/02/24/today-s-large-data-set.aspx</id><published>2009-02-24T08:38:58Z</published><updated>2009-02-24T08:38:58Z</updated><content type="html">&lt;p&gt;Now, since Excel 2007 was announced to be having over 1 million rows, I made the statement, &amp;quot;Be careful what you wish for&amp;quot;. Excel is not a database, there are programs far more suited to that task such as Access, SQL Server, SAP, Oracle, etc. Excel is a great reporting tool for those databases and can do fast and quite complex calculations much better than a database can.&lt;/p&gt; &lt;p&gt;What I am conceding more and more now though, is that as my familiarity with Excel is far greater than with SQL Server. I find myself taking large data sets out of SQL to do stuff that either the database is not good at, or more often where my T-SQL language skills let me down.&lt;/p&gt; &lt;p&gt;One such occurrence yesterday was trying to get a twelve month running average over weekly data for 30,000 items (per week) a data set which was currently around 850,000 records. The weekly update each Saturday night, being added to the total was not the problem, the setting up of the historical data was. Either the server choked on the physical task, or the data was not quite what I wanted. (Back to my T-SQL inadequacies).&lt;/p&gt; &lt;p&gt;What would have been impossible before 2007, well not impossible, but messy. Was to take out the data into Excel, work with it there and then, after saving it back as a .txt, tab delimited file. (SQL Server drivers seem to not yet cope with the new Excel formats), upload it back into SQL Server, either directly updating the original table, or more often to a temporary table which can then simply be linked to the original table and the data updated or added, very simple and painless.&lt;/p&gt; &lt;p&gt;A couple of caveats though. Much of my work is on &amp;#39;one-offs&amp;#39; to get me out of a corner and I use a lot of VBA snippets work the data. On this occasion I was having to drop in different worksheet functions based on the data. I wrote my 10-12 lines of code to run and set it off. Now, when I am running code over large data sets, although it has an overhead, I like to see where the code has got to, so, for example, in a for each...next loop, I always write the row number to the status bar. I then get an idea how long I need to walk away from my machine. (Coffee break, lunch or vacation?), like so.&lt;/p&gt; &lt;p&gt;For Each myCell in Range(&amp;quot;D1:D856456&amp;quot;)&lt;br /&gt;&amp;#39;Do stuff here...&lt;br /&gt;Application.Statusbar = myCell.Row&lt;br /&gt;Next myCell&lt;/p&gt; &lt;p&gt;In the data I was working the other day it was a simple AVERAGE w/s function, but was taking a very long time. Of course, I had forgotten to turn calculation to manual at the start of my code so stopped the code (vacation otherwise) and added the line&lt;/p&gt; &lt;p&gt;Application.Calculation=xlCalculationManual&lt;/p&gt; &lt;p&gt;Remembering to switch it back on afterwards, although Excel will take the setting from the first workbook opened in a session, so we should be OK.&lt;/p&gt; &lt;p&gt;I ran it again and still noticed it was dragging a little and a quick sum showed I should take a half day off ;-)&lt;/p&gt; &lt;p&gt;What I had forgotten, is that, as I was inserting random ranges in the AVERAGE function based on other data, Excel was trying to set the &amp;#39;error&amp;#39; flags, (The little green triangle in the top right corner of a cell when the formula does not match those of the cells around) on each cell as the code ran. Turning those off and we were away. The code now taking less than 20 minutes (a long coffee break) to run. The line to turn them off&lt;/p&gt; &lt;p&gt;application.ErrorCheckingOptions.BackgroundChecking=False&lt;/p&gt; &lt;p&gt;Again remember to turn them back on. (If that&amp;#39;s what you want)&lt;/p&gt; &lt;p&gt;So, are 1,000,000+ rows in Excel a good thing? Not really, but it doesn&amp;#39;t half come in handy. (With caveats)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://excelusergroup.org/aggbug.aspx?PostID=3545" width="1" height="1"&gt;</content><author><name>Nick_Hodge</name><uri>http://excelusergroup.org/members/Nick_5F00_Hodge/default.aspx</uri></author><category term="Excel 2007" scheme="http://excelusergroup.org/blogs/nickhodge/archive/tags/Excel+2007/default.aspx" /></entry><entry><title>Excel User Conference (an update)</title><link rel="alternate" type="text/html" href="/blogs/nickhodge/archive/2009/01/27/excel-user-conference-an-update.aspx" /><id>/blogs/nickhodge/archive/2009/01/27/excel-user-conference-an-update.aspx</id><published>2009-01-27T03:34:00Z</published><updated>2009-01-27T03:34:00Z</updated><content type="html">&lt;p&gt;The guys who are organising this event. (Bob Phillips, Roger Govier, Andy Pope, Charles Williams, Simon Murphy&amp;nbsp;and I), have been overwhelmed by the response for the forthcoming event in London on April 1st and 2nd.&lt;/p&gt;
&lt;p&gt;We have been &amp;#39;technically full&amp;#39; almost from the start with floods of delegates and are operating a reserve list. (We have even had to turn down adverts on the likes of Office Online, etc). As it is a free event however, people do not have huge amounts of &amp;#39;skin&amp;#39; in the day, so we are emailing regularly to ascertain if people can still come and then promote from the &amp;#39;wait list&amp;#39;. (MS advise us that up to 40% can drop out of free events, although we have more than that on reserve too).&lt;/p&gt;
&lt;p&gt;It should be a fantastic couple of days for the 104 delegates anyhow, whoever they may be.&lt;/p&gt;
&lt;p&gt;The update is that, &amp;#39;the guys&amp;#39; are also talking about a repeat in the autumn with priority given to people on the reserve list. We have not all agreed yet and not approached MS, but this is the current thinking. It certainly could be filled, no doubt!&lt;/p&gt;
&lt;p&gt;&lt;img src="http://excelusergroup.org/emoticons/emotion-2.gif" alt="Big Smile" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://excelusergroup.org/aggbug.aspx?PostID=3316" width="1" height="1"&gt;</content><author><name>Nick_Hodge</name><uri>http://excelusergroup.org/members/Nick_5F00_Hodge/default.aspx</uri></author><category term="Conference" scheme="http://excelusergroup.org/blogs/nickhodge/archive/tags/Conference/default.aspx" /></entry><entry><title>My First 15 Minutes?</title><link rel="alternate" type="text/html" href="/blogs/nickhodge/archive/2008/12/10/my_2D00_first_2D00_15_2D00_minutes.aspx" /><id>/blogs/nickhodge/archive/2008/12/10/my_2D00_first_2D00_15_2D00_minutes.aspx</id><published>2008-12-10T19:32:05Z</published><updated>2008-12-10T19:32:05Z</updated><content type="html">&lt;p&gt;&lt;a href="http://excelusergroup.org/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/logooffice_5F00_2.jpg" target="_blank"&gt;&lt;img style="border-top-width:0px;border-left-width:0px;border-bottom-width:0px;margin:0px 10px 0px 0px;border-right-width:0px;" height="40" alt="logooffice" src="http://excelusergroup.org/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/logooffice_5F00_thumb.jpg" width="169" border="0" /&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;Everyone will be famous for 15 minutes... dunno who said that but as many of you know I live a double life as downright nice, jolly chap on one hand and geek on the other!&lt;/p&gt; &lt;p&gt;Some time ago I wrote a blog about getting External Data into the new 2007 version of Excel. Well, it grew a little into a full-blown article and it has just been published on the main Office Online web site at Microsoft.com.&lt;/p&gt; &lt;p&gt;&lt;a href="http://office.microsoft.com/en-us/excel/HA103382101033.aspx" target="_blank"&gt;The article is here&lt;/a&gt;&lt;/p&gt; &lt;p&gt;...end of 15 minutes and back to obscurity!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://excelusergroup.org/aggbug.aspx?PostID=3082" width="1" height="1"&gt;</content><author><name>Nick_Hodge</name><uri>http://excelusergroup.org/members/Nick_5F00_Hodge/default.aspx</uri></author><category term="External Data" scheme="http://excelusergroup.org/blogs/nickhodge/archive/tags/External+Data/default.aspx" /><category term="Microsoft" scheme="http://excelusergroup.org/blogs/nickhodge/archive/tags/Microsoft/default.aspx" /></entry><entry><title>UK Excel User Group Conference</title><link rel="alternate" type="text/html" href="/blogs/nickhodge/archive/2008/12/05/uk-excel-user-group-conference.aspx" /><id>/blogs/nickhodge/archive/2008/12/05/uk-excel-user-group-conference.aspx</id><published>2008-12-05T17:47:00Z</published><updated>2008-12-05T17:47:00Z</updated><content type="html">&lt;p&gt;A meeting of the above group will take place on &lt;strong&gt;Wednesday 1st and Thursday 2nd April 2009 in London&lt;/strong&gt;. This &lt;span style="color:#ff0000;"&gt;&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;FREE&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="color:#000000;"&gt; event has some fantastic speakers from the Excel community.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#000000;"&gt;The agenda for the two days is outlined below and you can book for either or both days by emailing &lt;a href="mailto:bookings@excelusergroup.org"&gt;bookings@excelusergroup.org&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#000000;"&gt;Microsoft will be providing the venue and the hospitality and we look forward to a great and informative couple of days. The agenda is below, but if you want the full version with session details and speaker bios, &lt;a href="http://excelusergroup.org/cfs-filesystemfile.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/UK-Excel-User-Group-Meeting-Rev2.doc"&gt;you can download the&amp;nbsp;Word document&amp;nbsp;file here&lt;/a&gt;&lt;/span&gt;&lt;span style="color:#000000;"&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Venue: &lt;br /&gt;&lt;/b&gt;&lt;b&gt;Microsoft London (Cardinal Place)&lt;/b&gt; &lt;br /&gt;100 Victoria Street &lt;br /&gt;London SW1E 5JL &lt;br /&gt;Tel: 0870 60 10 100&lt;/p&gt;
&lt;p&gt;Agenda:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Wednesday 1st April 2009&lt;/strong&gt;&lt;/p&gt;
&lt;table cellpadding="1" cellspacing="0"&gt;

&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Time&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Event&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Speaker&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;9:15am - 9:45am&lt;/td&gt;
&lt;td&gt;Registration &amp;amp; coffee&lt;/td&gt;
&lt;td&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;9:45am - 10:00am&lt;/td&gt;
&lt;td&gt;Welcome&lt;/td&gt;
&lt;td&gt;Nick Hodge&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;10:00am - 10:45am&lt;/td&gt;
&lt;td&gt;Working smart with the Excel grid&lt;/td&gt;
&lt;td&gt;Simon Murphy&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;10:45am - 11:45am&lt;/td&gt;
&lt;td&gt;Intermediate functions&lt;/td&gt;
&lt;td&gt;Bob Phillips&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;11:45am - 12:15pm&lt;/td&gt;
&lt;td&gt;Coffee&lt;/td&gt;
&lt;td&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;12:15pm - 1:15pm&lt;/td&gt;
&lt;td&gt;What&amp;#39;s in a name?&lt;/td&gt;
&lt;td&gt;Charles Williams&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;1:15pm - 2:00pm&lt;/td&gt;
&lt;td&gt;Lunch&lt;/td&gt;
&lt;td&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;2:00pm - 2:45pm&lt;/td&gt;
&lt;td&gt;TBA&lt;/td&gt;
&lt;td&gt;Microsoft&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;2:45pm - 3:30pm&lt;/td&gt;
&lt;td&gt;Tips and tricks in charting&lt;/td&gt;
&lt;td&gt;Andy Pope&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;3:30pm - 4:00pm&lt;/td&gt;
&lt;td&gt;Coffee&lt;/td&gt;
&lt;td&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;4:00pm - 5:00pm&lt;/td&gt;
&lt;td&gt;Pivot tables&lt;/td&gt;
&lt;td&gt;Roger Govier&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;5:00pm - 5:30pm&lt;/td&gt;
&lt;td&gt;Pre-submitted Q&amp;amp;A&lt;/td&gt;
&lt;td&gt;All&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;5:30pm - Late&lt;/td&gt;
&lt;td&gt;Dinner, drinks, etc&lt;/td&gt;
&lt;td&gt;All (Inc. Delegates)&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;
&lt;p&gt;&lt;strong&gt;Thursday 2nd April 2009&lt;/strong&gt;&lt;/p&gt;
&lt;table cellpadding="1" cellspacing="0"&gt;

&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Time&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Event&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Speaker&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;8:30am - 9:00am&lt;/td&gt;
&lt;td&gt;Registration &amp;amp; coffee&lt;/td&gt;
&lt;td&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;9:00am - 9:15am&lt;/td&gt;
&lt;td&gt;Welcome&lt;/td&gt;
&lt;td&gt;Nick Hodge&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;9:15am - 10:00am&lt;/td&gt;
&lt;td&gt;Data exchange&lt;/td&gt;
&lt;td&gt;Nick Hodge&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;10:00am - 11:00am&lt;/td&gt;
&lt;td&gt;VBA - It&amp;#39;s in everyone&amp;#39;s reach&lt;/td&gt;
&lt;td&gt;Simon Murphy&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;11:00am - 11:30am&lt;/td&gt;
&lt;td&gt;Coffee&lt;/td&gt;
&lt;td&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;11:30am - 12:45pm&lt;/td&gt;
&lt;td&gt;Information - Visualising data&lt;/td&gt;
&lt;td&gt;Andy pope &amp;amp; Bob Phillips&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;12:45pm - 1:30pm&lt;/td&gt;
&lt;td&gt;Lunch&lt;/td&gt;
&lt;td&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;1:30pm - 2:15pm&lt;/td&gt;
&lt;td&gt;Arrays and array functions&lt;/td&gt;
&lt;td&gt;Bob Phillips&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;2:15pm - 3:15pm&lt;/td&gt;
&lt;td&gt;Speeding up Excel&lt;/td&gt;
&lt;td&gt;Charles Williams&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;3:15pm - 3:45pm&lt;/td&gt;
&lt;td&gt;Tea &amp;amp; coffee&lt;/td&gt;
&lt;td&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;3:45pm - 4:30pm&lt;/td&gt;
&lt;td&gt;Pre-submitted Q&amp;amp;A&lt;/td&gt;
&lt;td&gt;All&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;4:30pm&lt;/td&gt;
&lt;td&gt;Close&lt;/td&gt;
&lt;td&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://excelusergroup.org/aggbug.aspx?PostID=3052" width="1" height="1"&gt;</content><author><name>Nick_Hodge</name><uri>http://excelusergroup.org/members/Nick_5F00_Hodge/default.aspx</uri></author><category term="Events" scheme="http://excelusergroup.org/blogs/nickhodge/archive/tags/Events/default.aspx" /></entry><entry><title>Excel 2007 - Getting External Data</title><link rel="alternate" type="text/html" href="/blogs/nickhodge/archive/2008/11/04/excel-2007-getting-external-data.aspx" /><id>/blogs/nickhodge/archive/2008/11/04/excel-2007-getting-external-data.aspx</id><published>2008-11-04T19:31:15Z</published><updated>2008-11-04T19:31:15Z</updated><content type="html">&lt;p&gt;On of the most visited parts of my web site is the part on external data. Most of it was based on Excel 2003 and before, so I thought I should update it for Excel 2007.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;u&gt;INTRODUCTION&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;The first thing you will notice about 2007 is the ease in which you can find the data &amp;#39;movement&amp;#39; tools. Now, say what you think about the ribbon in Excel 2007, but finding where to import and export data is not one of them! It&amp;#39;s on the Data tab. (as below)&lt;/p&gt; &lt;p&gt;&lt;a href="http://excelusergroup.org/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/data-tab_5F00_2.jpg"&gt;&lt;img style="border-top-width:0px;border-left-width:0px;border-bottom-width:0px;border-right-width:0px;" height="161" alt="data tab" src="http://excelusergroup.org/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/data-tab_5F00_thumb.jpg" width="437" border="0" /&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;I have only shown you the section above. The tab extends beyond this with groups for sorting and filtering, validation and de-duping tools and grouping stuff. We will only be using these two groups. (Get External Data and Connections)&lt;/p&gt; &lt;p&gt;&lt;u&gt;&lt;strong&gt;SIMPLE IMPORTS&lt;/strong&gt;&lt;/u&gt;&lt;/p&gt; &lt;p&gt;The first three buttons from the left are easily discoverable and ready-rolled versions of the old commands available through the Data&amp;gt;Get External Data&amp;gt;New Database Query... (See below)&lt;/p&gt; &lt;p&gt;&lt;a href="http://excelusergroup.org/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/old-menu-options_5F00_2.jpg"&gt;&lt;img style="border-top-width:0px;border-left-width:0px;border-bottom-width:0px;border-right-width:0px;" height="270" alt="old menu options" src="http://excelusergroup.org/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/old-menu-options_5F00_thumb.jpg" width="431" border="0" /&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;The &amp;#39;From Access&amp;#39; and &amp;#39;From Text&amp;#39; options, simply throw up an &amp;#39;Open&amp;#39; dialog to allow you to navigate to your selected file. It should be noted that the Access variant is compatible with versions of Access pre-2007, allowing extensions of *.mdb (2003 and before) and *.accdb (2007), as well as their &amp;#39;project&amp;#39; equivalents (*.mde and *.accde). The text import version allows import of *.prn (space delimited), *.txt (tab, or other delimiter) and *.csv (comma delimited).&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;u&gt;IMPORTANT TIP:&lt;/u&gt;&lt;/strong&gt; There is also an option, when selecting text, to select *.* all files. (see below).&lt;/p&gt; &lt;p&gt;&lt;a href="http://excelusergroup.org/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/all-files_5F00_2.jpg"&gt;&lt;img style="border-top-width:0px;border-left-width:0px;border-bottom-width:0px;border-right-width:0px;" height="485" alt="all files" src="http://excelusergroup.org/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/all-files_5F00_thumb.jpg" width="615" border="0" /&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;This is important when you have columns with data that may begin with a zero, for example part numbers like 000123456. Using any other driver for import will have Excel simply strip these off, leaving you with 123456. This will be a real problem when you come to do any VLOOKUPs or similar as one will not see the other.&lt;/p&gt; &lt;p&gt;So, the trick is, remove whatever extension you have completely. (To do this in later versions of windows you will likely have to go to any Windows Explorer window and select &amp;#39;Folder Options...&amp;#39; (In Vista this is under the &amp;#39;Organise&amp;#39; option) and on the &amp;#39;View&amp;#39; tab, de-select to &amp;#39;Hide known file extensions&amp;#39;. (In other words to show them), see below).&lt;/p&gt; &lt;p&gt;&lt;a href="http://excelusergroup.org/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/Hide-extensions_5F00_2.jpg"&gt;&lt;img style="border-top-width:0px;border-left-width:0px;border-bottom-width:0px;border-right-width:0px;" height="483" alt="Hide extensions" src="http://excelusergroup.org/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/Hide-extensions_5F00_thumb.jpg" width="400" border="0" /&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;You will get warned about changing file extensions being dangerous and you can ignore that! You will then end up with the usual icon for a file that windows shows when it has an unknown file extension.&lt;/p&gt; &lt;p&gt;Taking this route will launch the Import Wizard, allowing you to set the part number column (for example) as text, thus keeping your leading zeroes (more on this option later). This is the only successful way I know of doing this as Excel, through any of it&amp;#39;s proprietary drivers, does not seem to honour field &amp;#39;types&amp;#39;.&lt;/p&gt; &lt;p&gt;&lt;u&gt;&lt;strong&gt;IMPORTING FROM ACCESS (or most other OLEDB data sources)&lt;/strong&gt;&lt;/u&gt;&lt;/p&gt; &lt;p&gt;So, taking the first option will throw up the dialog to navigate to your database file (as outlined above), once you have done this you will be presented with a dialog, showing the tables and queries (views) in that database file, select the relevant one and click &amp;#39;OK&amp;#39;.&lt;/p&gt; &lt;p&gt;You will notice from the dialog below that I name my Tables, tblXXXXX and my Queries, qryXXXXX. This helps me to easily see them and also sorts them neatly. However, if you do not do this, you should note the icon for each is different, with the one for Queries or Views looking like two overlaid table icons. (as below)&lt;/p&gt; &lt;p&gt;&lt;a href="http://excelusergroup.org/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/Select-Table_5F00_2.jpg"&gt;&lt;img style="border-top-width:0px;border-left-width:0px;border-bottom-width:0px;border-right-width:0px;" height="387" alt="Select Table" src="http://excelusergroup.org/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/Select-Table_5F00_thumb.jpg" width="529" border="0" /&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;Select your table and you then get loads of options to place your data into the workbook. (see below)&lt;/p&gt; &lt;p&gt;&lt;a href="http://excelusergroup.org/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/import-to-where_5F00_2.jpg"&gt;&lt;img style="border-top-width:0px;border-left-width:0px;border-bottom-width:0px;border-right-width:0px;" height="254" alt="import to where" src="http://excelusergroup.org/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/import-to-where_5F00_thumb.jpg" width="304" border="0" /&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;Most of these will be self-explanatory but listed you can have the data as a new 2007 formatted table (the default), a pivot table, or a pivot chart &lt;u&gt;and&lt;/u&gt; pivot table. Equally you can decide whether you want the data placed in the existing worksheet (and where on that sheet) or a new sheet. Don&amp;#39;t forget also the &amp;#39;Properties...&amp;#39; button that will throw up a dialog, as below, to turn on, or off, some features of the resulting connection to your data source. Key on the usage tab is a descriptive name and description, as this will now appear under the &amp;#39;Connections&amp;#39; button on the &amp;#39;Connections&amp;#39; group on the &amp;#39;Data&amp;#39; tab. A feature allowing future manipulation of this connection which was difficult, or near impossible in earlier versions of Excel. Also, you may like to set the &amp;#39;Enable background refresh&amp;#39; (default) so that you can work with Excel while the data is refreshed in the background. This becomes relevant if you set the data to refresh every nth seconds. Probably the most useful setting to ensure &amp;#39;one version of the truth&amp;#39;, is the &amp;#39;refresh data when opening file&amp;#39; setting. Even though Excel will fire the security bar to warn that the data may be unsafe (unless you have trusted the location or similar), as soon as you &amp;#39;release&amp;#39; this the data will update with the live data in the source.&lt;/p&gt; &lt;p&gt;&lt;a href="http://excelusergroup.org/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/connection-properties_5F00_2.jpg"&gt;&lt;img style="border-top-width:0px;border-left-width:0px;border-bottom-width:0px;border-right-width:0px;" height="508" alt="connection properties" src="http://excelusergroup.org/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/connection-properties_5F00_thumb.jpg" width="423" border="0" /&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;The definition tab (below) allows you to change the connection string, which is handy if you move the file or similar, it also is a good way to get the string if you are using it in VBA or .NET code.&lt;/p&gt; &lt;p&gt;&lt;a href="http://excelusergroup.org/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/definition-tab_5F00_2.jpg"&gt;&lt;img style="border-top-width:0px;border-left-width:0px;border-bottom-width:0px;border-right-width:0px;" height="508" alt="definition tab" src="http://excelusergroup.org/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/definition-tab_5F00_thumb.jpg" width="423" border="0" /&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;Finishing all these dialogs will return your data to the Excel worksheet as a table or pivot table template, as below&lt;/p&gt; &lt;p&gt;&lt;a href="http://excelusergroup.org/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/table_5F00_4.jpg"&gt;&lt;img style="border-top-width:0px;border-left-width:0px;border-bottom-width:0px;border-right-width:0px;" height="152" alt="table" src="http://excelusergroup.org/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/table_5F00_thumb_5F00_1.jpg" width="244" border="0" /&gt;&lt;/a&gt; &lt;a href="http://excelusergroup.org/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/pt-template_5F00_2.jpg"&gt;&lt;img style="border-top-width:0px;border-left-width:0px;border-bottom-width:0px;border-right-width:0px;" height="244" alt="pt template" src="http://excelusergroup.org/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/pt-template_5F00_thumb.jpg" width="129" border="0" /&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;Once you have your data on the sheet you will notice that not only are the &amp;#39;Refresh All&amp;#39; and &amp;#39;Connections&amp;#39; button on the Connections group &amp;#39;lit&amp;#39; (as top), but also the Properties one is also. If specifically you are in a new Excel 2007 table, this shows some nice features to expand column widths, include row numbers from the data source and whether you want you data replacing and deleting the existing data or appending it.&lt;/p&gt; &lt;p&gt;&lt;a href="http://excelusergroup.org/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/external-data-properties_5F00_2.jpg"&gt;&lt;img style="border-top-width:0px;border-left-width:0px;border-bottom-width:0px;border-right-width:0px;" height="291" alt="external data properties" src="http://excelusergroup.org/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/external-data-properties_5F00_thumb.jpg" width="363" border="0" /&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;Bear in mind, once you have your external data in Excel, you are only a right click away (in the table or Pivot) from selecting &amp;#39;refresh&amp;#39; to get an updated view of the data.&lt;/p&gt; &lt;p&gt;Much of what you have learned under this Access heading will stand you in good stead for all other sources as in fact it is using an OLEDB data source &amp;#39;under the covers&amp;#39;, the same as you will use for SQL, Oracle, or most other modern data sources. The only difference will be if you are using a server technology, is you will not navigate to a file, you will use a server name.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;u&gt;IMPORTING FROM THE WEB&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;Once you use this technology it is surprising how much you will use it in the future. It is great for grabbing for example order screens as receipts and also any kind of list. I suspect however that most people use it to keep up to date with stocks and shares and, providing the site owner doesn&amp;#39;t mess with the URLs you need only open Excel and refresh each time to see the latest data, as with any other data source. This is the example we will be using. (Using Microsoft&amp;#39;s Stock Symbol on Yahoo (MSFT).&lt;/p&gt; &lt;p&gt;&lt;a href="http://uk.finance.yahoo.com/q?s=MSFT&amp;amp;m=L&amp;amp;d=" target="_blank"&gt;Here is the URL&lt;/a&gt; (Today)&lt;/p&gt; &lt;p&gt;Firstly we will go to the &amp;#39;From Web&amp;#39; button. (See above). This effectively launches a browser window into which you can either enter the URL or paste it as with any other browser. (see below)&lt;/p&gt; &lt;p&gt;&lt;a href="http://excelusergroup.org/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/webdatabrowser_5F00_2.jpg"&gt;&lt;img style="border-top-width:0px;border-left-width:0px;border-bottom-width:0px;border-right-width:0px;" height="385" alt="webdatabrowser" src="http://excelusergroup.org/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/webdatabrowser_5F00_thumb.jpg" width="504" border="0" /&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;Notice above that this control &amp;#39;senses&amp;#39; the table in the data and places&amp;nbsp; small yellow boxes with right facing arrows to show them. All you do now is simply click on any table you want to select, which will turn the yellow marker to green with a tick and click &amp;#39;Import&amp;#39;. Now, when doing this with just these default settings, Excel imports a pretty bland, text representation of the data, (see below)&lt;/p&gt; &lt;p&gt;&lt;a href="http://excelusergroup.org/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/web-bland-data_5F00_2.jpg"&gt;&lt;img style="border-top-width:0px;border-left-width:0px;border-bottom-width:0px;border-right-width:0px;" height="376" alt="web bland data" src="http://excelusergroup.org/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/web-bland-data_5F00_thumb.jpg" width="220" border="0" /&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;To alter this you should, before importing press the &amp;#39;Options...&amp;#39;button, top right of the dialog, (see above). This will give you several choices, (see 1st below), the two most crucial of which are, &amp;#39;Full HTML formatting&amp;#39; and &amp;#39;Disable date recognition&amp;#39;. The former ends up with the data looking far prettier and much like it is on the web page itself (see 2nd below), the second will stop data such as 1-1-00 (possibly financial data, from being converted to 01/01/2000 (as a date).&lt;/p&gt; &lt;p&gt;&lt;a href="http://excelusergroup.org/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/Web-Data-Options_5F00_2.jpg"&gt;&lt;img style="border-top-width:0px;border-left-width:0px;border-bottom-width:0px;border-right-width:0px;" height="449" alt="Web Data Options" src="http://excelusergroup.org/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/Web-Data-Options_5F00_thumb.jpg" width="596" border="0" /&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;&lt;a href="http://excelusergroup.org/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/formatteddata_5F00_2.jpg"&gt;&lt;img style="border-top-width:0px;border-left-width:0px;border-bottom-width:0px;border-right-width:0px;" height="389" alt="formatteddata" src="http://excelusergroup.org/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/formatteddata_5F00_thumb.jpg" width="235" border="0" /&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;Now, as with any other data on the worksheet, you can simply either press the &amp;#39;Refresh&amp;#39; button on the &amp;#39;Data&amp;#39; tab or right click on the data and select &amp;#39;Refresh&amp;#39;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;u&gt;IMPORTING FROM TEXT&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;Remember, that a csv file (comma separated values) is a native form to Excel. You will notice this by looking at the file icon. It is like a normal one but with a letter &amp;#39;a&amp;#39; and a comma. If you double-click directly on a csv file, excel will open it. Sometimes this is undesirable, so I suggest you take the &amp;#39;Important Tip&amp;#39; route above.&lt;/p&gt; &lt;p&gt;If you have any other text file format than csv, you should open it using the &amp;#39;From Text&amp;#39; button. Remember too, that even if Excel doesn&amp;#39;t open the file format you have (Quicken for example), you will nearly always be able to save as some text format within the source program, so you should do that.&lt;/p&gt; &lt;p&gt;Pressing the button simply presents a navigation dialog to go to the file, as below&lt;/p&gt; &lt;p&gt;&lt;a href="http://excelusergroup.org/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/importtextdialog_5F00_2.jpg"&gt;&lt;img style="border-top-width:0px;border-left-width:0px;border-bottom-width:0px;border-right-width:0px;" height="484" alt="importtextdialog" src="http://excelusergroup.org/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/importtextdialog_5F00_thumb.jpg" width="614" border="0" /&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;Once again, you have the option in the bottom right to show all files (*.*), so if you file does not have a *.prn, *.txt or *.csv extension you will need to use that.&lt;/p&gt; &lt;p&gt;Pressing the &amp;#39;Open&amp;#39; button presents you with the three step Text Import Wizard allowing you to specify the data steps. The three dialogs are shown below&lt;/p&gt; &lt;p&gt;Step 1 allows you to specify whether the file is delimited (has a character of some type between each column (field), e.g. comma, tab, space (you will notice the commas separating my data) and the other usual option allows you to start the import at a certain row. This is handy when certain systems simply output a paper report to text file and the report has headings as this will allow you to strip those rows out.&lt;/p&gt; &lt;p&gt;&lt;a href="http://excelusergroup.org/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/TextImport1_5F00_2.jpg"&gt;&lt;img style="border-top-width:0px;border-left-width:0px;border-bottom-width:0px;border-right-width:0px;" height="422" alt="TextImport1" src="http://excelusergroup.org/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/TextImport1_5F00_thumb.jpg" width="589" border="0" /&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;Step 2, if you have, as I have selected &amp;#39;delimited&amp;#39; in step one, will allow you to select the delimiter. In my case this is comma but if you have any other you can select from the choices or select &amp;#39;other&amp;#39; and enter the character in the box. If you had selected &amp;#39;fixed width&amp;#39; in step one. (That is field one is say always 10 characters, field 2. 30 characters and so on), then this step allows you to click at the fixed widths of your data to set the delimiting &amp;#39;bars&amp;#39;.&lt;/p&gt; &lt;p&gt;If you are likely to have consecutive delimiters, e.g. an address file that is comma delimited may have commas at the end of an address line, then you should select to &amp;#39;Treat consecutive delimiters as one&amp;#39;. Some data systems also output text data, as opposed to numeric data, surrounded by double quotes, if so, select that from the &amp;#39;Text qualifier&amp;#39; drop down.&lt;/p&gt; &lt;p&gt;&lt;a href="http://excelusergroup.org/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/TextImport2_5F00_2.jpg"&gt;&lt;img style="border-top-width:0px;border-left-width:0px;border-bottom-width:0px;border-right-width:0px;" height="422" alt="TextImport2" src="http://excelusergroup.org/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/TextImport2_5F00_thumb.jpg" width="589" border="0" /&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;The last step allows you to set the columns as certain data types or not import at all. This is where, as I have done in column 5, you can set you data as text and retain you leading zeroes. Equally, as you can see in column 8, I have selected &amp;#39;Do not import column&amp;#39; and it has placed &amp;#39;Skip Column&amp;#39; in the heading and it will not be imported.&lt;/p&gt; &lt;p&gt;&lt;a href="http://excelusergroup.org/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/TextImport3_5F00_2.jpg"&gt;&lt;img style="border-top-width:0px;border-left-width:0px;border-bottom-width:0px;border-right-width:0px;" height="422" alt="TextImport3" src="http://excelusergroup.org/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/TextImport3_5F00_thumb.jpg" width="589" border="0" /&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;Clicking finish returns the data to the worksheet and you are done!&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;u&gt;IMPORTING FROM OTHER SOURCES&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;This is where Excel uses it&amp;#39;s OLEDB or ODBC drivers that are loaded on the machine&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;u&gt;IMPORTANT:&lt;/u&gt;&lt;/strong&gt; It is possible that your driver list will not match mine and you may not be able to import from an AS400 DB2 for example. This is because your machine is not loaded with the driver for that data source, nothing to do with your excel installation. Remember, if you are setting this up for someone else, their machine too must have the relevant driver and connection file in most cases.&lt;/p&gt; &lt;p&gt;For purposes of this demonstration, I will be using SQL Server as my data source, but frankly, if a driver is available, it could be just about anything. Generally you may prefer to use the OLEDB drivers, which will create a transferable connection file, but if all else fails, you can use MS Query, an age old tool in Excel that is a little like Access and uses ODBC as it&amp;#39;s connection technology. It&amp;#39;s a bit like dropping back to VGA if you have trouble with hi performance video drivers!&lt;/p&gt; &lt;p&gt;Below are your menu choices from the &amp;#39;From Other Sources&amp;#39; button.&lt;/p&gt; &lt;p&gt;&lt;a href="http://excelusergroup.org/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/FromOtherSourcesMenu_5F00_2.jpg"&gt;&lt;img style="border-top-width:0px;border-left-width:0px;border-bottom-width:0px;border-right-width:0px;" height="302" alt="FromOtherSourcesMenu" src="http://excelusergroup.org/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/FromOtherSourcesMenu_5F00_thumb.jpg" width="370" border="0" /&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;Selecting SQL Server presents us with a Data Connection Wizard which you can use to set the necessary settings for your connection. The three steps are outlined below.&lt;/p&gt; &lt;p&gt;The first step allows you to specify the server name. (my example, (local), connects to the local machine server). I most instances Windows Authentication will be OK. This is a system whereby Windows manages your passwords, meaning your network logon suffices for SQL, email, etc, etc. On occasions, each user will have a logon specific to the data source or even a table. If that is the case,as will often be on remote/shared databases, you would select the other option and enter a user name and password.&lt;/p&gt; &lt;p&gt;&lt;a href="http://excelusergroup.org/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/dataconnectwizard1_5F00_2.jpg"&gt;&lt;img style="border-top-width:0px;border-left-width:0px;border-bottom-width:0px;border-right-width:0px;" height="371" alt="dataconnectwizard1" src="http://excelusergroup.org/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/dataconnectwizard1_5F00_thumb.jpg" width="530" border="0" /&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;The second step offers you the specific database in the named server you want to connect to. Changing this will present you with a list of table and queries (views) in that particular database, on that named server. Equally, if you want to select this each time you use the connection then you can uncheck the &amp;#39;Connect to a specific table&amp;#39; check box and you will be prompted each time. As before the icons for Tables and views are different to ease identification. (I use a different naming convention in SQL server, uv-xxx-xxxxxxx is a user view (query) and the tables are named in plain English. Don&amp;#39;t ask me why, I&amp;#39;ve always been a little quirky!)&lt;/p&gt; &lt;p&gt;&lt;a href="http://excelusergroup.org/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/dataconnectwizard2_5F00_2.jpg"&gt;&lt;img style="border-top-width:0px;border-left-width:0px;border-bottom-width:0px;border-right-width:0px;" height="424" alt="dataconnectwizard2" src="http://excelusergroup.org/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/dataconnectwizard2_5F00_thumb.jpg" width="553" border="0" /&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;Step three allows you to name the connection file and give it a description to help in search as as an aide memoir on what it does. There are tons of other metadata stuff you could put here, but that&amp;#39;s about it.&lt;/p&gt; &lt;p&gt;&lt;a href="http://excelusergroup.org/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/dataconnectwizard3_5F00_2.jpg"&gt;&lt;img style="border-top-width:0px;border-left-width:0px;border-bottom-width:0px;border-right-width:0px;" height="443" alt="dataconnectwizard3" src="http://excelusergroup.org/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/dataconnectwizard3_5F00_thumb.jpg" width="530" border="0" /&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;From here on in returning data to the worksheet follows the same route as under the Access section.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;u&gt;USING PARAMETERS IN QUERIES AND MS QUERY (ODBC)&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;u&gt;NOTE: &lt;/u&gt;&lt;/strong&gt;This is a repeat of the same subject in another post on my blog, but as that one was set in XL2003 and is the most hit entry, I thought I would update it for 2007.&lt;/p&gt; &lt;p&gt;If all the above fails, you can drop back to the &amp;#39;age old&amp;#39; method of MS Query which uses ODBC technology. The operation of this can be seamless, without you even seeing an interface, but what I would like to show is a way you can use dynamic parameters on your worksheet to choose the data shown.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;u&gt;NOTE:&lt;/u&gt;&lt;/strong&gt; A standard install of Excel may not install this feature (can&amp;#39;t remember), if you do not have this option, re-insert your installation media and chose to &amp;#39;add and remove features&amp;#39; and select all the data options you can see!&lt;/p&gt; &lt;p&gt;So, let&amp;#39;s start.&lt;/p&gt; &lt;p&gt;When I am intending to work with parameters on a worksheet, I tend to enter the placeholders for these first. this will help when the interface asks for the parameters and tries to retrieve the data. (I am going to pull data between 2 dates, remember I am in the UK locale so our dates are formatted dd/mm/yyyy). So the worksheet would look like below.&lt;/p&gt; &lt;p&gt;&lt;a href="http://excelusergroup.org/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/parameter-start_5F00_2.jpg"&gt;&lt;img style="border-top-width:0px;border-left-width:0px;border-bottom-width:0px;border-right-width:0px;" height="111" alt="parameter start" src="http://excelusergroup.org/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/parameter-start_5F00_thumb.jpg" width="205" border="0" /&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;I am hoping when we connect to the data (table or query) we will bring through initially all catalogues with a mail date between 1st Jan 07 and 1st Sep 07.&lt;/p&gt; &lt;p&gt;Next we will select the &amp;#39;From Microsoft Query&amp;#39; option from the &amp;#39;Other Sources&amp;#39; button, (see above). This will launch a dialog asking us to choose a data source (see below). (Data sources are files stored on you machine (or in the file) that are available to connect to data, you will recognise some in the screen shot, but some are specific source files on my own machine. the location of these files on your machine can be accessed by clicking the Options... button).&lt;/p&gt; &lt;p&gt;&lt;a href="http://excelusergroup.org/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/choose-data-source_5F00_2.jpg"&gt;&lt;img style="border-top-width:0px;border-left-width:0px;border-bottom-width:0px;border-right-width:0px;" height="245" alt="choose data source" src="http://excelusergroup.org/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/choose-data-source_5F00_thumb.jpg" width="472" border="0" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;We are connecting to a SQL server, so I will select the top option of &amp;#39;New Data Source...&amp;#39; as I don&amp;#39;t currently have a connection I need. This will launch another dialog to&amp;nbsp; name the data source and select the driver.(see below), again, if you don&amp;#39;t see what you need you will need to install the driver for that data source from the relevant program vendor.&lt;/p&gt; &lt;p&gt;I have selected SQL Server from the drop down and called it Local SQL (Any name you will recognise will do)&lt;/p&gt; &lt;p&gt;&lt;a href="http://excelusergroup.org/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/choose-data-source_5F00_2.jpg"&gt;&lt;/a&gt;&lt;a href="http://excelusergroup.org/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/createnewdatasource_5F00_2.jpg"&gt;&lt;img style="border-top-width:0px;border-left-width:0px;border-bottom-width:0px;border-right-width:0px;" height="307" alt="createnewdatasource" src="http://excelusergroup.org/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/createnewdatasource_5F00_thumb.jpg" width="395" border="0" /&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;Next you will need to connect to that data source, so clicking &amp;#39;Connect...&amp;#39; in the dialog above will present another dialog (below) to do that. (I have pressed the &amp;#39;Options&amp;gt;&amp;gt;&amp;#39; button 9dimmed in the shot below), which expands the options to connect to the database. this is a good idea if this connection is only needed to connect to one. In my case AS400UK). I have selected the (local) server, (That&amp;#39;s the one on &lt;u&gt;my&lt;/u&gt; machine) and used my trusted &amp;#39;single windows sign-on&amp;#39; connection.&lt;/p&gt; &lt;p&gt;&lt;a href="http://excelusergroup.org/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/serverlogin_5F00_2.jpg"&gt;&lt;img style="border-top-width:0px;border-left-width:0px;border-bottom-width:0px;border-right-width:0px;" height="341" alt="serverlogin" src="http://excelusergroup.org/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/serverlogin_5F00_thumb.jpg" width="373" border="0" /&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;Once you clear the dialog above, you will be re-presented with the &amp;#39;Create New Data Source&amp;#39; dialog (two above), with the option to select a specific table or query (view) in the database. I leave this blank to give me a utility connection that I can select tables from as we need. Equally we will now be returned to the first dialog in this section, but this time we will have our new source of Local SQL in the list. (see below)&lt;/p&gt; &lt;p&gt;&lt;a href="http://excelusergroup.org/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/new-datasource-made_5F00_2.jpg"&gt;&lt;img style="border-top-width:0px;border-left-width:0px;border-bottom-width:0px;border-right-width:0px;" height="245" alt="new datasource made" src="http://excelusergroup.org/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/new-datasource-made_5F00_thumb.jpg" width="472" border="0" /&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;If we click OK we will get a wizard taking us through the steps of selecting a table, the fields we require from that table and filtering or sorting them. For the purposes of this we will not be filtering or sorting at this stage (steps 2 and 3), but below is the first screen with the CatHeader table selected and four fields within that table moved across to appear in our data.&lt;/p&gt; &lt;p&gt;&lt;a href="http://excelusergroup.org/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/choosecolumns_5F00_2.jpg"&gt;&lt;img style="border-top-width:0px;border-left-width:0px;border-bottom-width:0px;border-right-width:0px;" height="315" alt="choosecolumns" src="http://excelusergroup.org/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/choosecolumns_5F00_thumb.jpg" width="511" border="0" /&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;On the fourth screen we could simply select to return the data to Excel and that would be done, with any filtering and sorting done earlier. We want to apply parameters to our data though, so we need to select &amp;#39;View data or edit query in Microsoft Query&amp;#39; at this stage. (As below).&lt;/p&gt; &lt;p&gt;&lt;a href="http://excelusergroup.org/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/msquerylastwizzard_5F00_2.jpg"&gt;&lt;img style="border-top-width:0px;border-left-width:0px;border-bottom-width:0px;border-right-width:0px;" height="315" alt="msquerylastwizzard" src="http://excelusergroup.org/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/msquerylastwizzard_5F00_thumb.jpg" width="511" border="0" /&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;Clicking finish gives us our first view of the MS Query interface with our data in place.&lt;/p&gt; &lt;p&gt;&lt;a href="http://excelusergroup.org/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/MS-Query-Criteria-Button_5F00_4.jpg"&gt;&lt;img style="border-top-width:0px;border-left-width:0px;border-bottom-width:0px;border-right-width:0px;" height="457" alt="MS Query Criteria Button" src="http://excelusergroup.org/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/MS-Query-Criteria-Button_5F00_thumb_5F00_1.jpg" width="546" border="0" /&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;We need now to set our parameters and to do that we go to the add criteria button (above) which adds a grid to the interface (below). In here we need to select the field we wish to add the parameters to and enter the parameters. To enter parameters you simply put the square braces around where you want the parameters values to be placed, so in our case of wanting to get data between two dates we can enter:&lt;/p&gt; &lt;p&gt;Between [Start] And [End]&lt;/p&gt; &lt;p&gt;It matters not what you call the placeholders in the query, we could have replaced &amp;#39;Start&amp;#39; with &amp;#39;a&amp;#39; for example. (without the quotes)&lt;/p&gt; &lt;p&gt;The values we enter in the worksheet will replace the Start and End parameters. It ends up looking like below.&lt;/p&gt; &lt;p&gt;&lt;a href="http://excelusergroup.org/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/criteria-grid_5F00_2.jpg"&gt;&lt;img style="border-top-width:0px;border-left-width:0px;border-bottom-width:0px;border-right-width:0px;" height="441" alt="criteria grid" src="http://excelusergroup.org/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/criteria-grid_5F00_thumb.jpg" width="514" border="0" /&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;Next we go to &amp;#39;File&amp;#39; and select &amp;#39;Return data to Microsoft Office Excel&amp;#39;. This will fire a dialog to enter each of the parameter values (See below). As we are getting these from the worksheet you should enter nothing and just click &amp;#39;OK&amp;#39; to all prompts.&lt;/p&gt; &lt;p&gt;&lt;a href="http://excelusergroup.org/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/parameter-box_5F00_2.jpg"&gt;&lt;img style="border-top-width:0px;border-left-width:0px;border-bottom-width:0px;border-right-width:0px;" height="139" alt="parameter box" src="http://excelusergroup.org/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/parameter-box_5F00_thumb.jpg" width="283" border="0" /&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;After this you will be asked where in the worksheet you wish to place the data or whether you want to put it on another worksheet, but... &lt;u&gt;WE DON&amp;#39;T WANT TO DO THAT YET!&lt;/u&gt;&lt;/p&gt; &lt;p&gt;Before doing that your should press the &amp;#39;Properties...&amp;#39; button in the dialog (1st below) and on the resulting dialog&amp;#39;s &amp;#39;Definition&amp;#39; tab (2nd below), you will notice the &amp;#39;Parameters...&amp;#39; button has &amp;#39;lit up&amp;#39;.&lt;/p&gt; &lt;p&gt;&lt;a href="http://excelusergroup.org/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/Import-data_5F00_2.jpg"&gt;&lt;img style="border-top-width:0px;border-left-width:0px;border-bottom-width:0px;border-right-width:0px;" height="254" alt="Import data" src="http://excelusergroup.org/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/Import-data_5F00_thumb.jpg" width="304" border="0" /&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;&lt;a href="http://excelusergroup.org/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/definition-tab_5F00_4.jpg"&gt;&lt;img style="border-top-width:0px;border-left-width:0px;border-bottom-width:0px;border-right-width:0px;" height="508" alt="definition tab" src="http://excelusergroup.org/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/definition-tab_5F00_thumb_5F00_1.jpg" width="423" border="0" /&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;Press this and you get a dialog giving you three options. (See below)&lt;/p&gt; &lt;p&gt;&lt;a href="http://excelusergroup.org/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/Parameter-Dialog_5F00_2.jpg"&gt;&lt;img style="border-top-width:0px;border-left-width:0px;border-bottom-width:0px;border-right-width:0px;" height="272" alt="Parameter Dialog" src="http://excelusergroup.org/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/Parameter-Dialog_5F00_thumb.jpg" width="532" border="0" /&gt;&lt;/a&gt; &lt;/p&gt; &lt;ol&gt; &lt;li&gt;Prompt for value using the following string (new in 2007), allows you to have Excel fire a dialog and for you to have a customised message, say... &amp;quot;Enter the Start Date&amp;quot;&amp;nbsp; &lt;li&gt;Use a &amp;#39;hard coded&amp;#39; value every time  &lt;li&gt;Get the value from a worksheet cell. (This is the option we want). You simply enter a cell reference to the data for each parameter in the list on the left and that&amp;#39;s it!&lt;/li&gt;&lt;/ol&gt; &lt;p&gt;To make the data refresh each time the parameter changes you should check the box at the bottom (I always do this, but if you have a very long running query it could be a problem)&lt;/p&gt; &lt;p&gt;Simply then, you just need to change the values in the cells and the data below will reflect the new values. (see below)&lt;/p&gt; &lt;p&gt;&lt;a href="http://excelusergroup.org/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/Final-Table_5F00_2.jpg"&gt;&lt;img style="border-top-width:0px;border-left-width:0px;border-bottom-width:0px;border-right-width:0px;" height="377" alt="Final Table" src="http://excelusergroup.org/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/nickhodge/Final-Table_5F00_thumb.jpg" width="373" border="0" /&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;That&amp;#39;s about it for data interchange in Excel, remember though that in Excel 2007, you also, unlike previous versions can easily re-use data connections and edit them, right here on the &amp;#39;Data&amp;#39; tab of the new ribbon.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://excelusergroup.org/aggbug.aspx?PostID=2905" width="1" height="1"&gt;</content><author><name>Nick_Hodge</name><uri>http://excelusergroup.org/members/Nick_5F00_Hodge/default.aspx</uri></author><category term="External Data" scheme="http://excelusergroup.org/blogs/nickhodge/archive/tags/External+Data/default.aspx" /><category term="Excel 2007" scheme="http://excelusergroup.org/blogs/nickhodge/archive/tags/Excel+2007/default.aspx" /></entry><entry><title>Excel List of Lists</title><link rel="alternate" type="text/html" href="/blogs/nickhodge/archive/2008/09/08/excel-list-of-lists.aspx" /><id>/blogs/nickhodge/archive/2008/09/08/excel-list-of-lists.aspx</id><published>2008-09-08T07:55:00Z</published><updated>2008-09-08T07:55:00Z</updated><content type="html">&lt;p&gt;John Walkenbach on his new Spreadsheet Page has posted what he believes is a comprehensive list of Excel Blogs with RSS feeds.&lt;/p&gt;
&lt;p&gt;&lt;a target="_blank" href="http://spreadsheetpage.com/index.php/excelfeeds"&gt;You can find it here&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thankfully I made the list, but can you point us toward any that are missing?&lt;/p&gt;
&lt;p&gt;It&amp;#39;s a nice job where you can select the blog in the left side bar and see the latest posts and comments all in one place.&lt;/p&gt;
&lt;p&gt;There are certainly several others on here he has missed but not to many that are active :-(&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://excelusergroup.org/aggbug.aspx?PostID=2651" width="1" height="1"&gt;</content><author><name>Nick_Hodge</name><uri>http://excelusergroup.org/members/Nick_5F00_Hodge/default.aspx</uri></author><category term="Links" scheme="http://excelusergroup.org/blogs/nickhodge/archive/tags/Links/default.aspx" /></entry><entry><title>Deploying VSTO Add-In To Multiple Users On Windows XP</title><link rel="alternate" type="text/html" href="/blogs/nickhodge/archive/2008/08/22/deploying-vsto-add-in-to-multiple-users-on-windows-xp.aspx" /><id>/blogs/nickhodge/archive/2008/08/22/deploying-vsto-add-in-to-multiple-users-on-windows-xp.aspx</id><published>2008-08-22T07:37:00Z</published><updated>2008-08-22T07:37:00Z</updated><content type="html">&lt;p&gt;Matthew from Australia kindly dropped by to outline a solution to a tricky situation with VSTO deployment to multiple users on Windows XP.&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t profess to know the issue, but it seems like it should get a wider audience, hence the post.&lt;/p&gt;
&lt;p&gt;&lt;a target="_blank" href="http://excelusergroup.org/forums/p/850/2584.aspx#2584" title="Multi-User VSTO Deployment in XP"&gt;Here is the link to Matthew&amp;#39;s solution.&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://excelusergroup.org/aggbug.aspx?PostID=2585" width="1" height="1"&gt;</content><author><name>Nick_Hodge</name><uri>http://excelusergroup.org/members/Nick_5F00_Hodge/default.aspx</uri></author><category term="VSTO" scheme="http://excelusergroup.org/blogs/nickhodge/archive/tags/VSTO/default.aspx" /></entry></feed>