<?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: Ravine Enivar</title>
	<atom:link href="http://www.dailydoseofexcel.com/archives/2009/05/11/ravine-enivar/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dailydoseofexcel.com/archives/2009/05/11/ravine-enivar/</link>
	<description>Daily posts of Excel tips…and other stuff</description>
	<lastBuildDate>Thu, 09 Feb 2012 18:06:07 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Michael</title>
		<link>http://www.dailydoseofexcel.com/archives/2009/05/11/ravine-enivar/#comment-39355</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Fri, 15 May 2009 20:38:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=2484#comment-39355</guid>
		<description>&lt;p&gt;Hi Dick -&lt;/p&gt;
&lt;p&gt;After reaching a certain maturity, whenever something comes into memory, something goes out.  :-) And we&#039;re not given to know what goes out.  At least that&#039;s how it is for me.  Memory is third thing to go, and I forgot what the other two are.  &lt;/p&gt;
&lt;p&gt;Potential MIDW posted over at Doug&#039;s site.&lt;/p&gt;
&lt;p&gt;...mrt&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi Dick -</p>
<p>After reaching a certain maturity, whenever something comes into memory, something goes out.  <img src='http://www.dailydoseofexcel.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  And we&#8217;re not given to know what goes out.  At least that&#8217;s how it is for me.  Memory is third thing to go, and I forgot what the other two are.  </p>
<p>Potential MIDW posted over at Doug&#8217;s site.</p>
<p>&#8230;mrt</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Some string functions « Newton Excel Bach, not (just) an Excel Blog</title>
		<link>http://www.dailydoseofexcel.com/archives/2009/05/11/ravine-enivar/#comment-39350</link>
		<dc:creator>Some string functions « Newton Excel Bach, not (just) an Excel Blog</dc:creator>
		<pubDate>Fri, 15 May 2009 12:49:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=2484#comment-39350</guid>
		<description>&lt;p&gt;[...] string&#160;functions  Posted on May 15, 2009 by dougaj4   It was pointed out in a comment to this post at Daily Dose of ExcelA that VBA has a StrReverse function that will (logically enough) reverse a string.A That&#039;s [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] string&nbsp;functions  Posted on May 15, 2009 by dougaj4   It was pointed out in a comment to this post at Daily Dose of ExcelA that VBA has a StrReverse function that will (logically enough) reverse a string.A That&#8217;s [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gruff999</title>
		<link>http://www.dailydoseofexcel.com/archives/2009/05/11/ravine-enivar/#comment-39340</link>
		<dc:creator>gruff999</dc:creator>
		<pubDate>Thu, 14 May 2009 13:17:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=2484#comment-39340</guid>
		<description>&lt;p&gt;Notepad is only good for a screenful or two of &#039;search n replace&#039;. I joined some colelagues on a job once which involved them starting off a very large S&#039;n&#039;R in Notepad and then saying &quot;Right, that&#039;s lunch, it&#039;ll take an hour to run&quot;, my helpful suggestion to use Word and do it in 2 seconds was welcomed with open arms.&lt;/p&gt;
&lt;p&gt;Gareth&lt;/p&gt;
&lt;p&gt;Hawaiian Tropic Talent Scouting Agency (Elephant Island Office - Antarctica)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Notepad is only good for a screenful or two of &#8216;search n replace&#8217;. I joined some colelagues on a job once which involved them starting off a very large S&#8217;n'R in Notepad and then saying &#8220;Right, that&#8217;s lunch, it&#8217;ll take an hour to run&#8221;, my helpful suggestion to use Word and do it in 2 seconds was welcomed with open arms.</p>
<p>Gareth</p>
<p>Hawaiian Tropic Talent Scouting Agency (Elephant Island Office &#8211; Antarctica)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dick Kusleika</title>
		<link>http://www.dailydoseofexcel.com/archives/2009/05/11/ravine-enivar/#comment-39326</link>
		<dc:creator>Dick Kusleika</dc:creator>
		<pubDate>Wed, 13 May 2009 14:40:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=2484#comment-39326</guid>
		<description>&lt;p&gt;Mine takes 4.9 seconds.  Tushar&#039;s takes 4.5 seconds.  Using the built in StrReverse in Tushar&#039;s took 3.6 seconds.&lt;/p&gt;
&lt;p&gt;Now how did I not now about StrReverse?&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Roy&lt;/b&gt;: We once spelled words using Excel&#039;s column headings, so there&#039;s nowhere to go but up. :)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Mine takes 4.9 seconds.  Tushar&#8217;s takes 4.5 seconds.  Using the built in StrReverse in Tushar&#8217;s took 3.6 seconds.</p>
<p>Now how did I not now about StrReverse?</p>
<p><b>Roy</b>: We once spelled words using Excel&#8217;s column headings, so there&#8217;s nowhere to go but up. <img src='http://www.dailydoseofexcel.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://www.dailydoseofexcel.com/archives/2009/05/11/ravine-enivar/#comment-39320</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Tue, 12 May 2009 15:42:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=2484#comment-39320</guid>
		<description>&lt;p&gt;Hi Dick -&lt;/p&gt;
&lt;p&gt;No need to roll your own ReverseString().  There&#039;s StrReverse() in VBA6.&lt;/p&gt;
&lt;p&gt;...mrt&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi Dick -</p>
<p>No need to roll your own ReverseString().  There&#8217;s StrReverse() in VBA6.</p>
<p>&#8230;mrt</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roy MacLean</title>
		<link>http://www.dailydoseofexcel.com/archives/2009/05/11/ravine-enivar/#comment-39318</link>
		<dc:creator>Roy MacLean</dc:creator>
		<pubDate>Tue, 12 May 2009 10:32:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=2484#comment-39318</guid>
		<description>&lt;p&gt;It&#039;s good to see the VBA community is really getting to grips with the major technological challenges of the 21st century :-) Ah well, back to that perpetual motion machine ...&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>It&#8217;s good to see the VBA community is really getting to grips with the major technological challenges of the 21st century <img src='http://www.dailydoseofexcel.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  Ah well, back to that perpetual motion machine &#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tushar Mehta</title>
		<link>http://www.dailydoseofexcel.com/archives/2009/05/11/ravine-enivar/#comment-39315</link>
		<dc:creator>Tushar Mehta</dc:creator>
		<pubDate>Tue, 12 May 2009 06:30:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=2484#comment-39315</guid>
		<description>&lt;p&gt;Don&#039;t know how much these improvements help but here they are.&lt;/p&gt;
&lt;p&gt;First, recognize that words that meet the requirement must have an even number of characters.&lt;/p&gt;
&lt;p&gt;Second, compare the 1st half of each word with the last half working from the outside in.&lt;/p&gt;
&lt;p&gt;Third, the character-by-character test can stop at the first failure.&lt;/p&gt;
&lt;p&gt;Combining the above:&lt;/p&gt;
&lt;div style=&quot;overflow: auto; white-space: nowrap;&quot; class=&quot;codecolorer-container vb default&quot;&gt;&lt;div style=&quot;white-space: nowrap;&quot; class=&quot;vb codecolorer&quot;&gt;&lt;span class=&quot;kw1&quot;&gt;Option&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Explicit&lt;/span&gt;&lt;br&gt;
&lt;br&gt;
&lt;span class=&quot;kw1&quot;&gt;Sub&lt;/span&gt; Enivar()&lt;br&gt;
&#160; &#160;&lt;br&gt;
&#160; &#160; &lt;span class=&quot;kw1&quot;&gt;Dim&lt;/span&gt; sFname &lt;span class=&quot;kw1&quot;&gt;As&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;String&lt;/span&gt;, lFnum &lt;span class=&quot;kw1&quot;&gt;As&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Long&lt;/span&gt;, sInput &lt;span class=&quot;kw1&quot;&gt;As&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;String&lt;/span&gt;&lt;br&gt;
&#160; &#160;&lt;br&gt;
&#160; &#160; sFname = &lt;span class=&quot;st0&quot;&gt;&quot;c:	emporchydict.txt&quot;&lt;/span&gt;&lt;br&gt;
&#160; &#160; lFnum = FreeFile&lt;br&gt;
&#160; &#160;&lt;br&gt;
&#160; &#160; &lt;span class=&quot;kw1&quot;&gt;Open&lt;/span&gt; sFname &lt;span class=&quot;kw1&quot;&gt;For&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Input&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;As&lt;/span&gt; lFnum&lt;br&gt;
&#160; &#160; &lt;span class=&quot;kw1&quot;&gt;Do&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;While&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Not&lt;/span&gt; EOF(lFnum)&lt;br&gt;
&#160; &#160; &#160; &#160; &lt;span class=&quot;kw1&quot;&gt;Input&lt;/span&gt; #lFnum, sInput&lt;br&gt;
&#160; &#160; &#160; &#160; &lt;span class=&quot;kw1&quot;&gt;Dim&lt;/span&gt; vaWords &lt;span class=&quot;kw1&quot;&gt;As&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Variant&lt;/span&gt;, I &lt;span class=&quot;kw1&quot;&gt;As&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Long&lt;/span&gt;&lt;br&gt;
&#160; &#160; &#160; &#160; vaWords = Split(sInput, &lt;span class=&quot;st0&quot;&gt;&quot; &quot;&lt;/span&gt;)&lt;br&gt;
&#160; &#160; &#160; &#160; &lt;span class=&quot;kw1&quot;&gt;For&lt;/span&gt; I = &lt;span class=&quot;kw1&quot;&gt;LBound&lt;/span&gt;(vaWords) &lt;span class=&quot;kw1&quot;&gt;To&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;UBound&lt;/span&gt;(vaWords)&lt;br&gt;
&#160; &#160; &#160; &#160; &#160; &#160; &lt;span class=&quot;kw1&quot;&gt;If&lt;/span&gt; Offset13(vaWords(I)) &lt;span class=&quot;kw1&quot;&gt;Then&lt;/span&gt; Debug.&lt;span class=&quot;kw1&quot;&gt;Print&lt;/span&gt; vaWords(I)&lt;br&gt;
&#160; &#160; &#160; &#160; &#160; &#160; &lt;span class=&quot;kw1&quot;&gt;Next&lt;/span&gt; I&lt;br&gt;
&#160; &#160; &#160; &#160; &lt;span class=&quot;kw1&quot;&gt;Loop&lt;/span&gt;&lt;br&gt;
&#160; &#160; &lt;span class=&quot;kw1&quot;&gt;Close&lt;/span&gt; lFnum&lt;br&gt;
&#160; &#160; &lt;span class=&quot;kw1&quot;&gt;End&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Sub&lt;/span&gt;&lt;br&gt;
&lt;br&gt;
&lt;span class=&quot;kw1&quot;&gt;Function&lt;/span&gt; Offset13(&lt;span class=&quot;kw1&quot;&gt;ByVal&lt;/span&gt; aWord &lt;span class=&quot;kw1&quot;&gt;As&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;String&lt;/span&gt;) &lt;span class=&quot;kw1&quot;&gt;As&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Boolean&lt;/span&gt;&lt;br&gt;
&#160; &#160; &lt;span class=&quot;kw1&quot;&gt;Dim&lt;/span&gt; I &lt;span class=&quot;kw1&quot;&gt;As&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Integer&lt;/span&gt;, WordLen &lt;span class=&quot;kw1&quot;&gt;As&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Integer&lt;/span&gt;&lt;br&gt;
&#160; &#160; WordLen = Len(aWord)&lt;br&gt;
&#160; &#160; &lt;span class=&quot;kw1&quot;&gt;If&lt;/span&gt; WordLen &lt;span class=&quot;kw1&quot;&gt;Mod&lt;/span&gt; 2 &lt;&gt; 0 &lt;span class=&quot;kw1&quot;&gt;Then&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Exit&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Function&lt;/span&gt;&lt;br&gt;
&#160; &#160; aWord = UCase(aWord)&lt;br&gt;
&#160; &#160; &lt;span class=&quot;kw1&quot;&gt;For&lt;/span&gt; I = 1 &lt;span class=&quot;kw1&quot;&gt;To&lt;/span&gt; Len(aWord) / 2&lt;br&gt;
&#160; &#160; &#160; &#160; &lt;span class=&quot;kw1&quot;&gt;If&lt;/span&gt; Abs(Asc(Mid(aWord, I, 1)) - Asc(Mid(aWord, WordLen + 1 - I, 1))) &lt;&gt; 13 &lt;span class=&quot;kw1&quot;&gt;Then&lt;/span&gt; _&lt;br&gt;
&#160; &#160; &#160; &#160; &#160; &#160; &lt;span class=&quot;kw1&quot;&gt;Exit&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Function&lt;/span&gt;&lt;br&gt;
&#160; &#160; &#160; &#160; &lt;span class=&quot;kw1&quot;&gt;Next&lt;/span&gt; I&lt;br&gt;
&#160; &#160; Offset13 = &lt;span class=&quot;kw1&quot;&gt;True&lt;/span&gt;&lt;br&gt;
&#160; &#160; &lt;span class=&quot;kw1&quot;&gt;End&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Function&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;The resulting list:&lt;br&gt;
an&lt;br&gt;
bo&lt;br&gt;
CP&lt;br&gt;
Er&lt;br&gt;
fans&lt;br&gt;
fobs&lt;br&gt;
freres&lt;br&gt;
gant&lt;br&gt;
gnat&lt;br&gt;
grivet&lt;br&gt;
GT&lt;br&gt;
Hu&lt;br&gt;
iv&lt;br&gt;
Livy&lt;br&gt;
Lyly&lt;br&gt;
na&lt;br&gt;
nana&lt;br&gt;
Ob&lt;br&gt;
pc&lt;br&gt;
ravine&lt;br&gt;
re&lt;br&gt;
rebore&lt;br&gt;
rive&lt;br&gt;
robe&lt;br&gt;
serf&lt;br&gt;
SF&lt;br&gt;
tang&lt;br&gt;
TG&lt;br&gt;
thug&lt;br&gt;
uh&lt;br&gt;
vi&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Don&#8217;t know how much these improvements help but here they are.</p>
<p>First, recognize that words that meet the requirement must have an even number of characters.</p>
<p>Second, compare the 1st half of each word with the last half working from the outside in.</p>
<p>Third, the character-by-character test can stop at the first failure.</p>
<p>Combining the above:</p>
<div style="overflow: auto; white-space: nowrap;" class="codecolorer-container vb default">
<div style="white-space: nowrap;" class="vb codecolorer"><span class="kw1">Option</span> <span class="kw1">Explicit</span></p>
<p><span class="kw1">Sub</span> Enivar()<br />
&nbsp; &nbsp;<br />
&nbsp; &nbsp; <span class="kw1">Dim</span> sFname <span class="kw1">As</span> <span class="kw1">String</span>, lFnum <span class="kw1">As</span> <span class="kw1">Long</span>, sInput <span class="kw1">As</span> <span class="kw1">String</span><br />
&nbsp; &nbsp;<br />
&nbsp; &nbsp; sFname = <span class="st0">&#8220;c:	emporchydict.txt&#8221;</span><br />
&nbsp; &nbsp; lFnum = FreeFile<br />
&nbsp; &nbsp;<br />
&nbsp; &nbsp; <span class="kw1">Open</span> sFname <span class="kw1">For</span> <span class="kw1">Input</span> <span class="kw1">As</span> lFnum<br />
&nbsp; &nbsp; <span class="kw1">Do</span> <span class="kw1">While</span> <span class="kw1">Not</span> EOF(lFnum)<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">Input</span> #lFnum, sInput<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">Dim</span> vaWords <span class="kw1">As</span> <span class="kw1">Variant</span>, I <span class="kw1">As</span> <span class="kw1">Long</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; vaWords = Split(sInput, <span class="st0">&#8221; &#8220;</span>)<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">For</span> I = <span class="kw1">LBound</span>(vaWords) <span class="kw1">To</span> <span class="kw1">UBound</span>(vaWords)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">If</span> Offset13(vaWords(I)) <span class="kw1">Then</span> Debug.<span class="kw1">Print</span> vaWords(I)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">Next</span> I<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">Loop</span><br />
&nbsp; &nbsp; <span class="kw1">Close</span> lFnum<br />
&nbsp; &nbsp; <span class="kw1">End</span> <span class="kw1">Sub</span></p>
<p><span class="kw1">Function</span> Offset13(<span class="kw1">ByVal</span> aWord <span class="kw1">As</span> <span class="kw1">String</span>) <span class="kw1">As</span> <span class="kw1">Boolean</span><br />
&nbsp; &nbsp; <span class="kw1">Dim</span> I <span class="kw1">As</span> <span class="kw1">Integer</span>, WordLen <span class="kw1">As</span> <span class="kw1">Integer</span><br />
&nbsp; &nbsp; WordLen = Len(aWord)<br />
&nbsp; &nbsp; <span class="kw1">If</span> WordLen <span class="kw1">Mod</span> 2 &lt;&gt; 0 <span class="kw1">Then</span> <span class="kw1">Exit</span> <span class="kw1">Function</span><br />
&nbsp; &nbsp; aWord = UCase(aWord)<br />
&nbsp; &nbsp; <span class="kw1">For</span> I = 1 <span class="kw1">To</span> Len(aWord) / 2<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">If</span> Abs(Asc(Mid(aWord, I, 1)) &#8211; Asc(Mid(aWord, WordLen + 1 &#8211; I, 1))) &lt;&gt; 13 <span class="kw1">Then</span> _<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">Exit</span> <span class="kw1">Function</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">Next</span> I<br />
&nbsp; &nbsp; Offset13 = <span class="kw1">True</span><br />
&nbsp; &nbsp; <span class="kw1">End</span> <span class="kw1">Function</span></div>
</div>
<p>The resulting list:<br />
an<br />
bo<br />
CP<br />
Er<br />
fans<br />
fobs<br />
freres<br />
gant<br />
gnat<br />
grivet<br />
GT<br />
Hu<br />
iv<br />
Livy<br />
Lyly<br />
na<br />
nana<br />
Ob<br />
pc<br />
ravine<br />
re<br />
rebore<br />
rive<br />
robe<br />
serf<br />
SF<br />
tang<br />
TG<br />
thug<br />
uh<br />
vi</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Walkenbach</title>
		<link>http://www.dailydoseofexcel.com/archives/2009/05/11/ravine-enivar/#comment-39311</link>
		<dc:creator>John Walkenbach</dc:creator>
		<pubDate>Mon, 11 May 2009 23:36:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=2484#comment-39311</guid>
		<description>&lt;p&gt;I had a feeling you might post something like this. &lt;/p&gt;
&lt;p&gt;How long did it take run?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I had a feeling you might post something like this. </p>
<p>How long did it take run?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Doug Jenkins</title>
		<link>http://www.dailydoseofexcel.com/archives/2009/05/11/ravine-enivar/#comment-39309</link>
		<dc:creator>Doug Jenkins</dc:creator>
		<pubDate>Mon, 11 May 2009 22:49:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=2484#comment-39309</guid>
		<description>&lt;p&gt;Looks like GNAT and TANG are the longest ones that spell an English word in both directions.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Looks like GNAT and TANG are the longest ones that spell an English word in both directions.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

