<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Using ADO in Functions</title>
	<atom:link href="http://www.dailydoseofexcel.com/archives/2005/01/31/using-ado-in-functions/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dailydoseofexcel.com/archives/2005/01/31/using-ado-in-functions/</link>
	<description>Daily posts of Excel tips…and other stuff</description>
	<lastBuildDate>Wed, 08 Feb 2012 16:01:55 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Christopher</title>
		<link>http://www.dailydoseofexcel.com/archives/2005/01/31/using-ado-in-functions/#comment-18180</link>
		<dc:creator>Christopher</dc:creator>
		<pubDate>Wed, 11 Jan 2006 22:41:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1001#comment-18180</guid>
		<description>&lt;p&gt;Martin,&lt;/p&gt;
&lt;p&gt;You need to connect to the &#039;Microsoft ActiveX Data Objects 2.X Library&#039; where X might be 2.5, 2.6, etc - whatever is the latest installed on your system.&lt;/p&gt;
&lt;p&gt;This is not the same library as Microsoft ADO Ext. 2.8 for DDL and Security.&lt;/p&gt;
&lt;p&gt;cheers,&lt;br&gt;
Christopher&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Martin,</p>
<p>You need to connect to the &#8216;Microsoft ActiveX Data Objects 2.X Library&#8217; where X might be 2.5, 2.6, etc &#8211; whatever is the latest installed on your system.</p>
<p>This is not the same library as Microsoft ADO Ext. 2.8 for DDL and Security.</p>
<p>cheers,<br />
Christopher</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin Los</title>
		<link>http://www.dailydoseofexcel.com/archives/2005/01/31/using-ado-in-functions/#comment-18178</link>
		<dc:creator>Martin Los</dc:creator>
		<pubDate>Wed, 11 Jan 2006 18:22:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1001#comment-18178</guid>
		<description>&lt;p&gt;I receive a compilation erro: Type not declared on the first line:&lt;br&gt;
&quot;Dim adoCn As ADODB.Connection&quot;.&lt;/p&gt;
&lt;p&gt;Could anybody explain if I need to set a reference to a library ( I already tried setting reference to Microsoft ADO Ext. 2.8 for DDL and Security) but that doesn&#039;t help).&lt;/p&gt;
&lt;p&gt;Thanks for any help!&lt;/p&gt;
&lt;p&gt;Martin&lt;/p&gt;
&lt;p&gt;P.S. I Use excel 2003&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I receive a compilation erro: Type not declared on the first line:<br />
&#8220;Dim adoCn As ADODB.Connection&#8221;.</p>
<p>Could anybody explain if I need to set a reference to a library ( I already tried setting reference to Microsoft ADO Ext. 2.8 for DDL and Security) but that doesn&#8217;t help).</p>
<p>Thanks for any help!</p>
<p>Martin</p>
<p>P.S. I Use excel 2003</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Harald Staff</title>
		<link>http://www.dailydoseofexcel.com/archives/2005/01/31/using-ado-in-functions/#comment-6654</link>
		<dc:creator>Harald Staff</dc:creator>
		<pubDate>Tue, 01 Feb 2005 19:39:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1001#comment-6654</guid>
		<description>&lt;p&gt;Hi Jamie&lt;br&gt;
I wasn&#039;t aware of this, thanks. 2.5 is definitely a good version anyway, does the job and more. (2.7.0 is btw known to be a buggy monster)&lt;/p&gt;
&lt;p&gt;I think that Paradox and MySql are not in the drivers package, so &quot;databases&quot; is also below 100%. Oh well.&lt;/p&gt;
&lt;p&gt;Best wishes Harald&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi Jamie<br />
I wasn&#8217;t aware of this, thanks. 2.5 is definitely a good version anyway, does the job and more. (2.7.0 is btw known to be a buggy monster)</p>
<p>I think that Paradox and MySql are not in the drivers package, so &#8220;databases&#8221; is also below 100%. Oh well.</p>
<p>Best wishes Harald</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jamie Collins</title>
		<link>http://www.dailydoseofexcel.com/archives/2005/01/31/using-ado-in-functions/#comment-6652</link>
		<dc:creator>Jamie Collins</dc:creator>
		<pubDate>Tue, 01 Feb 2005 17:53:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1001#comment-6652</guid>
		<description>&lt;p&gt;... although I&#039;ve just noticed there may be a problem for Windows XP. &lt;/p&gt;
&lt;p&gt;The table says in the first article reads:&lt;/p&gt;
&lt;p&gt;Windows XP, MDAC 2.5 SP2: Cannot be installed&lt;/p&gt;
&lt;p&gt;I can&#039;t get Microsoft&#039;s DLL database to confirm but I still think it is a safe bet that if a user has Excel then they will have ADO and a Jet version that can be updated to the latest version of Jet 4.0 via a Windows Update.&lt;/p&gt;
&lt;p&gt;Jamie.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>&#8230; although I&#8217;ve just noticed there may be a problem for Windows XP. </p>
<p>The table says in the first article reads:</p>
<p>Windows XP, MDAC 2.5 SP2: Cannot be installed</p>
<p>I can&#8217;t get Microsoft&#8217;s DLL database to confirm but I still think it is a safe bet that if a user has Excel then they will have ADO and a Jet version that can be updated to the latest version of Jet 4.0 via a Windows Update.</p>
<p>Jamie.</p>
<p></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jamie Collins</title>
		<link>http://www.dailydoseofexcel.com/archives/2005/01/31/using-ado-in-functions/#comment-6651</link>
		<dc:creator>Jamie Collins</dc:creator>
		<pubDate>Tue, 01 Feb 2005 17:33:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1001#comment-6651</guid>
		<description>&lt;p&gt;Doh! Wrong link. It should have been:&lt;/p&gt;
&lt;p&gt;Microsoft Data Access Components (MDAC) Installation&lt;br&gt;
&lt;a href=&quot;http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnmdac/html/data_mdacinstall.asp&quot; rel=&quot;nofollow&quot;&gt;http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnmdac/html/data_mdacinstall.asp&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;For the MDAC donloads, see:&lt;/p&gt;
&lt;p&gt;MDAC Downloads&lt;br&gt;
&lt;a href=&quot;http://msdn.microsoft.com/data/mdac/default.aspx&quot; rel=&quot;nofollow&quot;&gt;http://msdn.microsoft.com/data/mdac/default.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Jamie.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Doh! Wrong link. It should have been:</p>
<p>Microsoft Data Access Components (MDAC) Installation<br />
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnmdac/html/data_mdacinstall.asp" rel="nofollow">http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnmdac/html/data_mdacinstall.asp</a></p>
<p>For the MDAC donloads, see:</p>
<p>MDAC Downloads<br />
<a href="http://msdn.microsoft.com/data/mdac/default.aspx" rel="nofollow">http://msdn.microsoft.com/data/mdac/default.aspx</a></p>
<p>Jamie.</p>
<p></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jamie Collins</title>
		<link>http://www.dailydoseofexcel.com/archives/2005/01/31/using-ado-in-functions/#comment-6650</link>
		<dc:creator>Jamie Collins</dc:creator>
		<pubDate>Tue, 01 Feb 2005 17:29:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1001#comment-6650</guid>
		<description>&lt;p&gt;&quot;MDAC / ADO contains everything you need to read/write to [Jet] databases&quot;&lt;/p&gt;
&lt;p&gt;I that is not 100% correct: &lt;/p&gt;
&lt;p&gt;&#039;the Jet database engine is included in versions earlier than MDAC 2.6. MDAC also includes several ODBC drivers and OLE DB providers for common data sources, including ... Jet (earlier than MDAC 2.6). &lt;/p&gt;
&lt;p&gt;In MDAC versions that are later than MDAC 2.6, Jet is not included with the MDAC components set; therefore, the Jet engine core components, the Jet ODBC driver, and the Jet OLE DB provider are no longer included as a part of MDAC.&#039;&lt;/p&gt;
&lt;p&gt;However, there is still hope:&lt;/p&gt;
&lt;p&gt;&#039;The latest Jet components are available as a part of MDAC 2.5 SP2. If you want to use MDAC 2.6 or later (including the latest Jet components), first install MDAC 2.5 SP2, and then upgrade to the latest Jet components.&#039;&lt;/p&gt;
&lt;p&gt;Extracts from:&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://msdn.microsoft.com/library/default.asp?url=/library/en-us/mdacsdk/htm/mdac_deprecated_components.asp&quot; rel=&quot;nofollow&quot;&gt;http://msdn.microsoft.com/library/default.asp?url=/library/en-us/mdacsdk/htm/mdac_deprecated_components.asp&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Jamie.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>&#8220;MDAC / ADO contains everything you need to read/write to [Jet] databases&#8221;</p>
<p>I that is not 100% correct: </p>
<p>&#8216;the Jet database engine is included in versions earlier than MDAC 2.6. MDAC also includes several ODBC drivers and OLE DB providers for common data sources, including &#8230; Jet (earlier than MDAC 2.6). </p>
<p>In MDAC versions that are later than MDAC 2.6, Jet is not included with the MDAC components set; therefore, the Jet engine core components, the Jet ODBC driver, and the Jet OLE DB provider are no longer included as a part of MDAC.&#8217;</p>
<p>However, there is still hope:</p>
<p>&#8216;The latest Jet components are available as a part of MDAC 2.5 SP2. If you want to use MDAC 2.6 or later (including the latest Jet components), first install MDAC 2.5 SP2, and then upgrade to the latest Jet components.&#8217;</p>
<p>Extracts from:</p>
<p><a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/mdacsdk/htm/mdac_deprecated_components.asp" rel="nofollow">http://msdn.microsoft.com/library/default.asp?url=/library/en-us/mdacsdk/htm/mdac_deprecated_components.asp</a></p>
<p>Jamie.</p>
<p></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Harald Staff</title>
		<link>http://www.dailydoseofexcel.com/archives/2005/01/31/using-ado-in-functions/#comment-6649</link>
		<dc:creator>Harald Staff</dc:creator>
		<pubDate>Tue, 01 Feb 2005 17:16:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1001#comment-6649</guid>
		<description>&lt;p&gt;Stacie&lt;/p&gt;
&lt;p&gt;Yes, it will work fine. MDAC / ADO contains everything you need to read/write to databases (except a user interface, that is). I have lots of users that use Access mdb files from Excel and Word, without knowing it and without Access installed on their systems.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Stacie</p>
<p>Yes, it will work fine. MDAC / ADO contains everything you need to read/write to databases (except a user interface, that is). I have lots of users that use Access mdb files from Excel and Word, without knowing it and without Access installed on their systems.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stacie</title>
		<link>http://www.dailydoseofexcel.com/archives/2005/01/31/using-ado-in-functions/#comment-6647</link>
		<dc:creator>Stacie</dc:creator>
		<pubDate>Tue, 01 Feb 2005 16:09:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1001#comment-6647</guid>
		<description>&lt;p&gt;What if the user doesn&#039;t have MS Access?  Would it still work?&lt;/p&gt;
&lt;p&gt;For instance, when I crunch my UPS files (50,000+ lines per month) I can&#039;t ever do it on a quarterly basis.  I have Access, but one of the managers who would like to see the data summed by quarter doesn&#039;t.&lt;/p&gt;
&lt;p&gt;Could I use this to get the quarter sums to them?&lt;/p&gt;
&lt;p&gt;Stacie&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>What if the user doesn&#8217;t have MS Access?  Would it still work?</p>
<p>For instance, when I crunch my UPS files (50,000+ lines per month) I can&#8217;t ever do it on a quarterly basis.  I have Access, but one of the managers who would like to see the data summed by quarter doesn&#8217;t.</p>
<p>Could I use this to get the quarter sums to them?</p>
<p>Stacie</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jamie Collins</title>
		<link>http://www.dailydoseofexcel.com/archives/2005/01/31/using-ado-in-functions/#comment-6557</link>
		<dc:creator>Jamie Collins</dc:creator>
		<pubDate>Tue, 01 Feb 2005 12:22:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1001#comment-6557</guid>
		<description>&lt;p&gt;Dick, Because your cursor is client-side, you could disconnect your recordset and close the connection e.g. put these lines after the adoRs.Open:&lt;/p&gt;
&lt;p&gt;  adoRs.ActiveConnection = Nothing&lt;br&gt;
  adoCn.Close&lt;/p&gt;
&lt;p&gt;I prefer to use Filter rather than Find but that&#039;s just a lifestyle choice (mine&#039;s a Steeleye Stout, cheers).&lt;/p&gt;
&lt;p&gt;Jamie.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Dick, Because your cursor is client-side, you could disconnect your recordset and close the connection e.g. put these lines after the adoRs.Open:</p>
<p>  adoRs.ActiveConnection = Nothing<br />
  adoCn.Close</p>
<p>I prefer to use Filter rather than Find but that&#8217;s just a lifestyle choice (mine&#8217;s a Steeleye Stout, cheers).</p>
<p>Jamie.</p>
<p></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dick</title>
		<link>http://www.dailydoseofexcel.com/archives/2005/01/31/using-ado-in-functions/#comment-6409</link>
		<dc:creator>Dick</dc:creator>
		<pubDate>Tue, 01 Feb 2005 03:17:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1001#comment-6409</guid>
		<description>&lt;p&gt;Ha!  Of all the products, I choose beer.  It must be fate.  That is beer right?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Ha!  Of all the products, I choose beer.  It must be fate.  That is beer right?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

