<?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: Different approaches to retrieve data from underlying workbooks</title>
	<atom:link href="http://www.dailydoseofexcel.com/archives/2006/01/24/different-approaches-to-retrieve-data-from-underlying-workbooks/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dailydoseofexcel.com/archives/2006/01/24/different-approaches-to-retrieve-data-from-underlying-workbooks/</link>
	<description>Daily posts of Excel tips…and other stuff</description>
	<lastBuildDate>Thu, 09 Feb 2012 23:42:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Max</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/01/24/different-approaches-to-retrieve-data-from-underlying-workbooks/#comment-32167</link>
		<dc:creator>Max</dc:creator>
		<pubDate>Sun, 04 May 2008 20:42:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1324#comment-32167</guid>
		<description>&lt;p&gt;Hi&lt;br&gt;
I&#039;m looking for a piece of code whih is checking the file name first before opening and operating on it. File name format is filenameyyyymmdd.xls but the problem is files in that directory are saved irregularly (couple times a week) and I need to retrieve the latest one.&lt;br&gt;
Any ideas?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi<br />
I&#8217;m looking for a piece of code whih is checking the file name first before opening and operating on it. File name format is filenameyyyymmdd.xls but the problem is files in that directory are saved irregularly (couple times a week) and I need to retrieve the latest one.<br />
Any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Rosenblum</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/01/24/different-approaches-to-retrieve-data-from-underlying-workbooks/#comment-31831</link>
		<dc:creator>Mike Rosenblum</dc:creator>
		<pubDate>Sat, 12 Apr 2008 01:20:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1324#comment-31831</guid>
		<description>&lt;p&gt;Hey Brian,&lt;/p&gt;
&lt;p&gt;I&#039;m pretty sure that you cannot. You&#039;d have to open the workbook to do that. You could open a copy of the workbook, for example, if you had to be careful of other processes that might be writing to the workbook at the same time.&lt;/p&gt;
&lt;p&gt;But ADO retrieves values only, not formulas.&lt;/p&gt;
&lt;p&gt;Btw, if you are the same Brian as here: &lt;a href=&quot;http://www.xtremevbtalk.com/showthread.php?p=1282370#post1282370&quot; rel=&quot;nofollow&quot;&gt;http://www.xtremevbtalk.com/showthread.php?p=1282370#post1282370&lt;/a&gt;, then feel free to continue within the thread if you have more questions...&lt;/p&gt;
&lt;p&gt;Mike&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hey Brian,</p>
<p>I&#8217;m pretty sure that you cannot. You&#8217;d have to open the workbook to do that. You could open a copy of the workbook, for example, if you had to be careful of other processes that might be writing to the workbook at the same time.</p>
<p>But ADO retrieves values only, not formulas.</p>
<p>Btw, if you are the same Brian as here: <a href="http://www.xtremevbtalk.com/showthread.php?p=1282370#post1282370" rel="nofollow">http://www.xtremevbtalk.com/showthread.php?p=1282370#post1282370</a>, then feel free to continue within the thread if you have more questions&#8230;</p>
<p>Mike</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/01/24/different-approaches-to-retrieve-data-from-underlying-workbooks/#comment-31825</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Fri, 11 Apr 2008 16:42:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1324#comment-31825</guid>
		<description>&lt;p&gt;Hi &lt;/p&gt;
&lt;p&gt;Very helpful indeed. I was wondering though, is it possible to get the actual Formula value from a closed workbook, or just the numeric/text value?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi </p>
<p>Very helpful indeed. I was wondering though, is it possible to get the actual Formula value from a closed workbook, or just the numeric/text value?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Bunyan</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/01/24/different-approaches-to-retrieve-data-from-underlying-workbooks/#comment-19020</link>
		<dc:creator>Mike Bunyan</dc:creator>
		<pubDate>Mon, 27 Feb 2006 21:57:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1324#comment-19020</guid>
		<description>&lt;p&gt;Using ado or similar seems to pull the data very well, but what about obtaining the whole sheet and its characteristics.&lt;br&gt;
I would be interested to see a vba solution to importing a worksheet from a closed workbook that would  include the original worksheet name and all the worksheet attributes.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Using ado or similar seems to pull the data very well, but what about obtaining the whole sheet and its characteristics.<br />
I would be interested to see a vba solution to importing a worksheet from a closed workbook that would  include the original worksheet name and all the worksheet attributes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Quandan</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/01/24/different-approaches-to-retrieve-data-from-underlying-workbooks/#comment-18925</link>
		<dc:creator>Quandan</dc:creator>
		<pubDate>Mon, 20 Feb 2006 17:30:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1324#comment-18925</guid>
		<description>&lt;p&gt;I found that the limit of 16375 (not 16384) rows is not caused by the ExecuteExcel4Macro itself. It is a limit to the rownumber that can be linked to in a closed workbook. At least, I cannot build a link to a cell above row 16375 in a closed workbook, without getting an error...&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I found that the limit of 16375 (not 16384) rows is not caused by the ExecuteExcel4Macro itself. It is a limit to the rownumber that can be linked to in a closed workbook. At least, I cannot build a link to a cell above row 16375 in a closed workbook, without getting an error&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Quandan</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/01/24/different-approaches-to-retrieve-data-from-underlying-workbooks/#comment-18921</link>
		<dc:creator>Quandan</dc:creator>
		<pubDate>Mon, 20 Feb 2006 13:55:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1324#comment-18921</guid>
		<description>&lt;p&gt;I&#039;m affraid I already found the cause of the empty textcells in another subject: External Data - Mixed Data Types:&lt;br&gt;
&lt;a href=&quot;http://www.dicks-blog.com/archives/2004/06/03/external-data-mixed-data-types/#comments&quot; rel=&quot;nofollow&quot;&gt;http://www.dicks-blog.com/archives/2004/06/03/external-data-mixed-data-types/#comments&lt;/a&gt;&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I&#8217;m affraid I already found the cause of the empty textcells in another subject: External Data &#8211; Mixed Data Types:<br />
<a href="http://www.dicks-blog.com/archives/2004/06/03/external-data-mixed-data-types/#comments" rel="nofollow">http://www.dicks-blog.com/archives/2004/06/03/external-data-mixed-data-types/#comments</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Quandan</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/01/24/different-approaches-to-retrieve-data-from-underlying-workbooks/#comment-18918</link>
		<dc:creator>Quandan</dc:creator>
		<pubDate>Mon, 20 Feb 2006 13:32:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1324#comment-18918</guid>
		<description>&lt;p&gt;Another bit of information about the ExecuteExcel4Macro solution:&lt;/p&gt;
&lt;p&gt;In my experience, this solution is not able to import data from sourcerows above 16384. It will return errors in stead of the expected content.&lt;/p&gt;
&lt;p&gt;Another bit of information on the ADO solution:&lt;/p&gt;
&lt;p&gt;When a column you want to import has got mixed types (alternating between text and numbers) and it is starting with numbers, it does leave the cells in which you would expect the text EMPTY.&lt;/p&gt;
&lt;p&gt;At least... that&#039;s my experience (maybe I make some mistake?)&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Marcel Kreijne&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Another bit of information about the ExecuteExcel4Macro solution:</p>
<p>In my experience, this solution is not able to import data from sourcerows above 16384. It will return errors in stead of the expected content.</p>
<p>Another bit of information on the ADO solution:</p>
<p>When a column you want to import has got mixed types (alternating between text and numbers) and it is starting with numbers, it does leave the cells in which you would expect the text EMPTY.</p>
<p>At least&#8230; that&#8217;s my experience (maybe I make some mistake?)</p>
<p>Kind regards,</p>
<p>Marcel Kreijne</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: XL-Dennis</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/01/24/different-approaches-to-retrieve-data-from-underlying-workbooks/#comment-18435</link>
		<dc:creator>XL-Dennis</dc:creator>
		<pubDate>Wed, 25 Jan 2006 14:25:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1324#comment-18435</guid>
		<description>&lt;p&gt;Remco,&lt;/p&gt;
&lt;p&gt;I know but since I &lt;b&gt;dislike&lt;/b&gt; all kind of links I  gracefully avoid them and it will never be part of any solutions I deliver.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br&gt;
Dennis&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Remco,</p>
<p>I know but since I <b>dislike</b> all kind of links I  gracefully avoid them and it will never be part of any solutions I deliver.</p>
<p>Kind regards,<br />
Dennis</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rembo</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/01/24/different-approaches-to-retrieve-data-from-underlying-workbooks/#comment-18432</link>
		<dc:creator>Rembo</dc:creator>
		<pubDate>Wed, 25 Jan 2006 13:17:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1324#comment-18432</guid>
		<description>&lt;p&gt;Hi Dennis,&lt;/p&gt;
&lt;p&gt;Just for the record, if you need to reference a particular cell or range from another workbook you could also do it without using VBA.&lt;br&gt;
For example:&lt;/p&gt;
&lt;p&gt;Retrieve a cell value from another workbook:&lt;/p&gt;
&lt;p&gt;  =&#039;D:SomeDir[OtherWKB.xls]Sheet1&#039;!A1&lt;/p&gt;
&lt;p&gt;Or to sum up a range in another workbook:&lt;/p&gt;
&lt;p&gt;  =SUM(&#039;D:SomeDir[OtherWKB.xls]Sheet1&#039;!$A$1:$A$9)&lt;/p&gt;
&lt;p&gt;These formula&#039;s will work fine even if the source workbook is closed.&lt;br&gt;
To my knowledge not all functions can be used on a closed workbooks though. For example the OFFSET function will only work on an opened workbook. So using a dynamic range in your sum (that uses the OFFSET function) won&#039;t work on a closed workbook. &lt;/p&gt;
&lt;p&gt;Rembo&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi Dennis,</p>
<p>Just for the record, if you need to reference a particular cell or range from another workbook you could also do it without using VBA.<br />
For example:</p>
<p>Retrieve a cell value from another workbook:</p>
<p>  =&#8217;D:SomeDir[OtherWKB.xls]Sheet1&#8242;!A1</p>
<p>Or to sum up a range in another workbook:</p>
<p>  =SUM(&#8216;D:SomeDir[OtherWKB.xls]Sheet1&#8242;!$A$1:$A$9)</p>
<p>These formula&#8217;s will work fine even if the source workbook is closed.<br />
To my knowledge not all functions can be used on a closed workbooks though. For example the OFFSET function will only work on an opened workbook. So using a dynamic range in your sum (that uses the OFFSET function) won&#8217;t work on a closed workbook. </p>
<p>Rembo</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: XL-Dennis</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/01/24/different-approaches-to-retrieve-data-from-underlying-workbooks/#comment-18429</link>
		<dc:creator>XL-Dennis</dc:creator>
		<pubDate>Wed, 25 Jan 2006 11:11:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1324#comment-18429</guid>
		<description>&lt;p&gt;Jamie,&lt;/p&gt;
&lt;p&gt;That&#039;s quite impressive and it works excellent - thanks. &lt;/p&gt;
&lt;p&gt;In order to answer Your question I believe that it will be a third option (!) - my ability to keep tracks when creating it ;)&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br&gt;
Dennis&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Jamie,</p>
<p>That&#8217;s quite impressive and it works excellent &#8211; thanks. </p>
<p>In order to answer Your question I believe that it will be a third option (!) &#8211; my ability to keep tracks when creating it <img src='http://www.dailydoseofexcel.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Kind regards,<br />
Dennis</p>
]]></content:encoded>
	</item>
</channel>
</rss>

