<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>John Thuneby's blog : Excel</title><link>http://blogs.msdn.com/thuneby/archive/tags/Excel/default.aspx</link><description>Tags: Excel</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Creating a custom list in Excel</title><link>http://blogs.msdn.com/thuneby/archive/2008/06/12/creating-a-custom-list-in-excel.aspx</link><pubDate>Fri, 13 Jun 2008 04:37:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8593917</guid><dc:creator>jthuneby</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/thuneby/comments/8593917.aspx</comments><wfw:commentRss>http://blogs.msdn.com/thuneby/commentrss.aspx?PostID=8593917</wfw:commentRss><description>&lt;P mce_keep="true"&gt;Have you ever found that the lists in Office Accounting are great, but you are missing that one column you need (which the engineers at Microsoft just didn't think you wanted), like the second address field on the customer list you&amp;nbsp;want for a mail merge?&lt;/P&gt;
&lt;P&gt;Fortunately there is hope. Office Accounting is based on an open architecture, so you can use Excel to create your own data-aware lists in just a few simple steps.&lt;/P&gt;
&lt;P&gt;Open a new Excel document.&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;IMG title="Excel list step 1" style="WIDTH: 548px; HEIGHT: 392px" height=392 alt="Excel list step 1" src="http://blogs.msdn.com/photos/thuneby/images/8593888/original.aspx" width=548 align=baseline mce_src="http://blogs.msdn.com/photos/thuneby/images/8593888/original.aspx"&gt;&lt;/P&gt;
&lt;P&gt;Click on the &lt;B&gt;Data&lt;/B&gt; tab in the ribbon. In the &lt;B&gt;Get External Data&lt;/B&gt; section, click &lt;B&gt;From Other Sources, From SQL Server&lt;/B&gt;.&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;IMG title="Excel list step 2" style="WIDTH: 526px; HEIGHT: 367px" height=367 alt="Excel list step 2" src="http://blogs.msdn.com/photos/thuneby/images/8593889/original.aspx" width=526 align=baseline mce_src="http://blogs.msdn.com/photos/thuneby/images/8593889/original.aspx"&gt;&lt;/P&gt;
&lt;P&gt;In the Data connection wizard enter (local)\MSSMLBIZ as the &lt;B&gt;Server name &lt;/B&gt;and click &lt;B&gt;Next&lt;/B&gt;.&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;IMG title="Excel list step 3" style="WIDTH: 526px; HEIGHT: 371px" height=371 alt="Excel list step 3" src="http://blogs.msdn.com/photos/thuneby/images/8593890/original.aspx" width=526 align=baseline mce_src="http://blogs.msdn.com/photos/thuneby/images/8593890/original.aspx"&gt;&lt;/P&gt;
&lt;P&gt;Select the &lt;B&gt;database&lt;/B&gt; in the list and pick a &lt;EM&gt;view&lt;/EM&gt; for your custom list, in this case the &lt;EM&gt;CustomerAccountView&lt;/EM&gt;. Click &lt;B&gt;Next&lt;/B&gt;.&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;IMG title="Excel list step 3" style="WIDTH: 526px; HEIGHT: 439px" height=439 alt="Excel list step 3" src="http://blogs.msdn.com/photos/thuneby/images/8593891/original.aspx" width=526 align=baseline mce_src="http://blogs.msdn.com/photos/thuneby/images/8593891/original.aspx"&gt;&lt;/P&gt;
&lt;P&gt;Pick a file name (or leave it as is), add a description that makes sense to you as well as a friendly name. Click &lt;B&gt;Finish&lt;/B&gt;.&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;IMG title="Excel list step 5" style="WIDTH: 300px; HEIGHT: 250px" height=250 alt="Excel list step 5" src="http://blogs.msdn.com/photos/thuneby/images/8593892/original.aspx" width=300 align=baseline mce_src="http://blogs.msdn.com/photos/thuneby/images/8593892/original.aspx"&gt;&lt;/P&gt;
&lt;P&gt;In the Import Data dialog, select &lt;B&gt;Table&lt;/B&gt;, &lt;B&gt;Existing worksheet&lt;/B&gt; and click &lt;B&gt;OK&lt;/B&gt;.&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;IMG title="Final custom Excel list" style="WIDTH: 528px; HEIGHT: 335px" height=335 alt="Final custom Excel list" src="http://blogs.msdn.com/photos/thuneby/images/8593894/original.aspx" width=528 align=baseline mce_src="http://blogs.msdn.com/photos/thuneby/images/8593894/original.aspx"&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;(Note: Several columns hidden above)&lt;/P&gt;
&lt;P mce_keep="true"&gt;You now have a custom data-aware list in Excel that you can &lt;EM&gt;filter&lt;/EM&gt;, &lt;EM&gt;hide and show&lt;/EM&gt; its columns and &lt;EM&gt;refresh&lt;/EM&gt; the data as needed. Not too bad after just a few clicks... &lt;/P&gt;
&lt;P mce_keep="true"&gt;____________________________________________________________________________&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;STRONG&gt;Note: &lt;/STRONG&gt;I recommend you use our &lt;EM&gt;views&lt;/EM&gt; in step 3 above (and not the tables), as the views&amp;nbsp;usually already contain information that naturally belongs together - the stuff you need.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Developer note:&lt;/STRONG&gt; The majority of the tables are fully normalized so using the views is much less work and we&amp;nbsp;do sometimes&amp;nbsp;change table structure between versions and service packs.&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8593917" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/thuneby/archive/tags/Office+Integration/default.aspx">Office Integration</category><category domain="http://blogs.msdn.com/thuneby/archive/tags/Excel/default.aspx">Excel</category><category domain="http://blogs.msdn.com/thuneby/archive/tags/Custom+list/default.aspx">Custom list</category></item></channel></rss>