<?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: The Find Method</title>
	<atom:link href="http://www.dailydoseofexcel.com/archives/2004/03/29/the-find-method/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dailydoseofexcel.com/archives/2004/03/29/the-find-method/</link>
	<description>Daily posts of Excel tips…and other stuff</description>
	<lastBuildDate>Wed, 08 Feb 2012 23:58:05 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Brett</title>
		<link>http://www.dailydoseofexcel.com/archives/2004/03/29/the-find-method/#comment-32806</link>
		<dc:creator>Brett</dc:creator>
		<pubDate>Wed, 11 Jun 2008 13:59:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=431#comment-32806</guid>
		<description>&lt;p&gt;I need to go back and read all of this blog! I started in mid-2006. This would have saved me from a serious headache. The default of LookAt changing with the coices made in the UI is a real subtlety!!&lt;/p&gt;
&lt;p&gt;Brett&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I need to go back and read all of this blog! I started in mid-2006. This would have saved me from a serious headache. The default of LookAt changing with the coices made in the UI is a real subtlety!!</p>
<p>Brett</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Afonso Eca</title>
		<link>http://www.dailydoseofexcel.com/archives/2004/03/29/the-find-method/#comment-22811</link>
		<dc:creator>Afonso Eca</dc:creator>
		<pubDate>Mon, 19 Mar 2007 23:29:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=431#comment-22811</guid>
		<description>&lt;p&gt;hi,&lt;/p&gt;
&lt;p&gt;I need some help writting a code...&lt;/p&gt;
&lt;p&gt;I have to compare two different worksheets in the some workbook by rows. And I need the different rows to be changed into a different color.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Afonso&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>hi,</p>
<p>I need some help writting a code&#8230;</p>
<p>I have to compare two different worksheets in the some workbook by rows. And I need the different rows to be changed into a different color.</p>
<p>Regards,</p>
<p>Afonso</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brad</title>
		<link>http://www.dailydoseofexcel.com/archives/2004/03/29/the-find-method/#comment-22669</link>
		<dc:creator>Brad</dc:creator>
		<pubDate>Tue, 06 Mar 2007 16:26:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=431#comment-22669</guid>
		<description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I&#039;m creating a userform in Excel, and I want to have a user enter a text string, and push a button to search the address column for that text string.&lt;/p&gt;
&lt;p&gt;How do I code the command button to search the address column for that text string??&lt;/p&gt;
&lt;p&gt;Any help would be greatly appreciated....&lt;/p&gt;
&lt;p&gt;Thanks!!&lt;/p&gt;
&lt;p&gt;Brad&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I&#8217;m creating a userform in Excel, and I want to have a user enter a text string, and push a button to search the address column for that text string.</p>
<p>How do I code the command button to search the address column for that text string??</p>
<p>Any help would be greatly appreciated&#8230;.</p>
<p>Thanks!!</p>
<p>Brad</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: art</title>
		<link>http://www.dailydoseofexcel.com/archives/2004/03/29/the-find-method/#comment-16037</link>
		<dc:creator>art</dc:creator>
		<pubDate>Tue, 20 Sep 2005 09:55:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=431#comment-16037</guid>
		<description>&lt;p&gt;hi. I know this article is quite old. But i was wondering if you could help me. the FIND method is considerable slow if used in the background. What I mean is that if my application is in the foreground or the excel window is not visible, the range find is considerable slow. If you put focus on the excel window, then it is a lot faster. Did you ever observe this behavior?&lt;/p&gt;
&lt;p&gt;I have a function that uses the find method to find certain ranges to replace values in the excel sheet from a database and then print the data. i used late binding. code is: &lt;/p&gt;
&lt;p&gt;public bool PrintAll(string printer, int copies, DataTable records)&lt;br&gt;
{&lt;br&gt;
DataColumnCollection columns = records.Columns; //get all the columns of the datatable&lt;br&gt;
SortedList dataToInput = new SortedList(); //this array will contain the columns that can be found in the template&lt;/p&gt;
&lt;p&gt;//located locations of each variable to replace in excel template&lt;br&gt;
foreach(DataColumn col in columns)&lt;br&gt;
{&lt;br&gt;
ArrayList temp = Find(&quot;@@&quot; + col.ColumnName);&lt;br&gt;
if (temp.Count &gt; 0)&lt;br&gt;
{&lt;br&gt;
string addresses = &quot;&quot;;&lt;br&gt;
foreach (object i in temp)&lt;br&gt;
{&lt;br&gt;
addresses += i.ToString() + &quot;,&quot;;&lt;br&gt;
}&lt;br&gt;
addresses = addresses.TrimEnd(&#039;,&#039;);&lt;br&gt;
addresses = addresses.Replace(&quot;$&quot;,&quot;&quot;);&lt;br&gt;
dataToInput.Add(col.ColumnName, addresses);&lt;br&gt;
}&lt;br&gt;
}&lt;br&gt;
if (dataToInput.Count == 0)return false;&lt;/p&gt;
&lt;p&gt;//replace the values in excel then print&lt;/p&gt;
&lt;p&gt;DataRowCollection rows = records.Rows;&lt;br&gt;
foreach (DataRow row in rows)&lt;br&gt;
{&lt;br&gt;
for (int x = 0; x&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>hi. I know this article is quite old. But i was wondering if you could help me. the FIND method is considerable slow if used in the background. What I mean is that if my application is in the foreground or the excel window is not visible, the range find is considerable slow. If you put focus on the excel window, then it is a lot faster. Did you ever observe this behavior?</p>
<p>I have a function that uses the find method to find certain ranges to replace values in the excel sheet from a database and then print the data. i used late binding. code is: </p>
<p>public bool PrintAll(string printer, int copies, DataTable records)<br />
{<br />
DataColumnCollection columns = records.Columns; //get all the columns of the datatable<br />
SortedList dataToInput = new SortedList(); //this array will contain the columns that can be found in the template</p>
<p>//located locations of each variable to replace in excel template<br />
foreach(DataColumn col in columns)<br />
{<br />
ArrayList temp = Find(&#8220;@@&#8221; + col.ColumnName);<br />
if (temp.Count &gt; 0)<br />
{<br />
string addresses = &#8220;&#8221;;<br />
foreach (object i in temp)<br />
{<br />
addresses += i.ToString() + &#8220;,&#8221;;<br />
}<br />
addresses = addresses.TrimEnd(&#8216;,&#8217;);<br />
addresses = addresses.Replace(&#8220;$&#8221;,&#8221;");<br />
dataToInput.Add(col.ColumnName, addresses);<br />
}<br />
}<br />
if (dataToInput.Count == 0)return false;</p>
<p>//replace the values in excel then print</p>
<p>DataRowCollection rows = records.Rows;<br />
foreach (DataRow row in rows)<br />
{<br />
for (int x = 0; x</p>
]]></content:encoded>
	</item>
</channel>
</rss>

