<?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: Three Letter Words</title>
	<atom:link href="http://www.dailydoseofexcel.com/archives/2009/11/04/three-letter-words/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dailydoseofexcel.com/archives/2009/11/04/three-letter-words/</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: Dick Kusleika</title>
		<link>http://www.dailydoseofexcel.com/archives/2009/11/04/three-letter-words/#comment-42001</link>
		<dc:creator>Dick Kusleika</dc:creator>
		<pubDate>Fri, 06 Nov 2009 15:09:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=3172#comment-42001</guid>
		<description>&lt;p&gt;Thanks Jamie.  Fewer characters and infinitely more readable.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Thanks Jamie.  Fewer characters and infinitely more readable.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jamie Collins</title>
		<link>http://www.dailydoseofexcel.com/archives/2009/11/04/three-letter-words/#comment-41997</link>
		<dc:creator>Jamie Collins</dc:creator>
		<pubDate>Fri, 06 Nov 2009 10:50:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=3172#comment-41997</guid>
		<description>&lt;p&gt;Suggeted code change&lt;/p&gt;
&lt;p&gt;Replace&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;&#160; &#160; &lt;span class=&quot;co1&quot;&gt;&#039;97 is the ASCII code for lower case &#039;a&#039;&lt;br&gt;
&lt;/span&gt; &#160; &#160;&lt;span class=&quot;kw1&quot;&gt;For&lt;/span&gt; i = 97 &lt;span class=&quot;kw1&quot;&gt;To&lt;/span&gt; 97 + 25&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;with&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;&#160; &#160; &lt;span class=&quot;kw1&quot;&gt;For&lt;/span&gt; i = ASC(&lt;span class=&quot;st0&quot;&gt;&quot;a&quot;&lt;/span&gt;) &lt;span class=&quot;kw1&quot;&gt;To&lt;/span&gt; ASC(&lt;span class=&quot;st0&quot;&gt;&quot;z&quot;&lt;/span&gt;)&lt;/div&gt;&lt;/div&gt;
</description>
		<content:encoded><![CDATA[<p>Suggeted code change</p>
<p>Replace</p>
<div style="overflow: auto; white-space: nowrap;" class="codecolorer-container vb default">
<div style="white-space: nowrap;" class="vb codecolorer">&nbsp; &nbsp; <span class="co1">&#8217;97 is the ASCII code for lower case &#8216;a&#8217;<br />
</span> &nbsp; &nbsp;<span class="kw1">For</span> i = 97 <span class="kw1">To</span> 97 + 25</div>
</div>
<p>with</p>
<div style="overflow: auto; white-space: nowrap;" class="codecolorer-container vb default">
<div style="white-space: nowrap;" class="vb codecolorer">&nbsp; &nbsp; <span class="kw1">For</span> i = ASC(<span class="st0">&#8220;a&#8221;</span>) <span class="kw1">To</span> ASC(<span class="st0">&#8220;z&#8221;</span>)</div>
</div>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erik Anderson</title>
		<link>http://www.dailydoseofexcel.com/archives/2009/11/04/three-letter-words/#comment-41988</link>
		<dc:creator>Erik Anderson</dc:creator>
		<pubDate>Wed, 04 Nov 2009 22:48:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=3172#comment-41988</guid>
		<description>&lt;p&gt;Actually, FER is a legitimate Scrabble word (and so are FAR, FIR, FOR, and FUR).  Therefore, your &quot;first thought&quot; was correct.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Actually, FER is a legitimate Scrabble word (and so are FAR, FIR, FOR, and FUR).  Therefore, your &#8220;first thought&#8221; was correct.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff Weir</title>
		<link>http://www.dailydoseofexcel.com/archives/2009/11/04/three-letter-words/#comment-41986</link>
		<dc:creator>Jeff Weir</dc:creator>
		<pubDate>Wed, 04 Nov 2009 20:59:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=3172#comment-41986</guid>
		<description>&lt;p&gt;-uck has only ten. But some of them are of a substantially higher quality.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>-uck has only ten. But some of them are of a substantially higher quality.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy Cotgreave</title>
		<link>http://www.dailydoseofexcel.com/archives/2009/11/04/three-letter-words/#comment-41983</link>
		<dc:creator>Andy Cotgreave</dc:creator>
		<pubDate>Wed, 04 Nov 2009 18:06:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=3172#comment-41983</guid>
		<description>&lt;p&gt;@Mpemba&lt;br&gt;
Good work, although you&#039;re straying into the world where pedants might argue you&#039;re cheating! Making any word a plural simply because one can always ask &quot;How many _Septembers_ are there in this sentence?&quot; goes against the spirit a little.&lt;br&gt;
:-)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>@Mpemba<br />
Good work, although you&#8217;re straying into the world where pedants might argue you&#8217;re cheating! Making any word a plural simply because one can always ask &#8220;How many _Septembers_ are there in this sentence?&#8221; goes against the spirit a little.<br /> <img src='http://www.dailydoseofexcel.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mpemba</title>
		<link>http://www.dailydoseofexcel.com/archives/2009/11/04/three-letter-words/#comment-41982</link>
		<dc:creator>Mpemba</dc:creator>
		<pubDate>Wed, 04 Nov 2009 17:51:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=3172#comment-41982</guid>
		<description>&lt;p&gt;Dick&lt;/p&gt;
&lt;p&gt;Ah - indeed: it seems to list Lang and Wang as Proper nouns - the Scots might disagree.&lt;/p&gt;
&lt;p&gt;Some &quot;words&quot; Excel accepts are clearly nonsense - such as &quot;zzzz&quot; - but they are for whatever reason in the dictionary.&lt;/p&gt;
&lt;p&gt;In English English (UK) the longest Excel accepts (all lower case) is -ays (13) therefore quite rightly excluding Kays (the set of women called Kay), Mays (The month of May in more than one year), Tays (a surname). &lt;/p&gt;
&lt;p&gt;However, since &quot;kay&quot; is the 11th letter of the alphabet according to the OED I might have expected to be able to count all the &quot;kays&quot; ...&lt;/p&gt;
&lt;p&gt;M&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Dick</p>
<p>Ah &#8211; indeed: it seems to list Lang and Wang as Proper nouns &#8211; the Scots might disagree.</p>
<p>Some &#8220;words&#8221; Excel accepts are clearly nonsense &#8211; such as &#8220;zzzz&#8221; &#8211; but they are for whatever reason in the dictionary.</p>
<p>In English English (UK) the longest Excel accepts (all lower case) is -ays (13) therefore quite rightly excluding Kays (the set of women called Kay), Mays (The month of May in more than one year), Tays (a surname). </p>
<p>However, since &#8220;kay&#8221; is the 11th letter of the alphabet according to the OED I might have expected to be able to count all the &#8220;kays&#8221; &#8230;</p>
<p>M</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon Peltier</title>
		<link>http://www.dailydoseofexcel.com/archives/2009/11/04/three-letter-words/#comment-41981</link>
		<dc:creator>Jon Peltier</dc:creator>
		<pubDate>Wed, 04 Nov 2009 17:41:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=3172#comment-41981</guid>
		<description>&lt;p&gt;Andy -&lt;/p&gt;
&lt;p&gt;-ill has 12 (13 counting the proper name Jill)&lt;/p&gt;
&lt;p&gt;Bill, Dill, Fill, Gill, Hill, Kill, Mill, Pill, Rill, Sill, Till, Will&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Andy -</p>
<p>-ill has 12 (13 counting the proper name Jill)</p>
<p>Bill, Dill, Fill, Gill, Hill, Kill, Mill, Pill, Rill, Sill, Till, Will</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy Cotgreave</title>
		<link>http://www.dailydoseofexcel.com/archives/2009/11/04/three-letter-words/#comment-41980</link>
		<dc:creator>Andy Cotgreave</dc:creator>
		<pubDate>Wed, 04 Nov 2009 17:32:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=3172#comment-41980</guid>
		<description>&lt;p&gt;&quot;-all&quot; was the first example I&#039;ve come up with. I&#039;ve certainly hit 13 once or twice (while on long car journeys!) but can&#039;t remember what the suffixes were.&lt;/p&gt;
&lt;p&gt;Excel&#039;s spell checker certainly isn&#039;t the OED, but there are some Scrabble word lists online&lt;br&gt;
(http://www.scrabble.org.au/words/fours.htm)&lt;/p&gt;
&lt;p&gt;Dick, if you can do this in code, you&#039;ll answer a question that&#039;s plagued me for sometime, and a virtual beer will head your way.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>&#8220;-all&#8221; was the first example I&#8217;ve come up with. I&#8217;ve certainly hit 13 once or twice (while on long car journeys!) but can&#8217;t remember what the suffixes were.</p>
<p>Excel&#8217;s spell checker certainly isn&#8217;t the OED, but there are some Scrabble word lists online<br />
(<a href="http://www.scrabble.org.au/words/fours.htm" rel="nofollow">http://www.scrabble.org.au/words/fours.htm</a>)</p>
<p>Dick, if you can do this in code, you&#8217;ll answer a question that&#8217;s plagued me for sometime, and a virtual beer will head your way.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dick Kusleika</title>
		<link>http://www.dailydoseofexcel.com/archives/2009/11/04/three-letter-words/#comment-41978</link>
		<dc:creator>Dick Kusleika</dc:creator>
		<pubDate>Wed, 04 Nov 2009 16:52:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=3172#comment-41978</guid>
		<description>&lt;p&gt;Excel doesn&#039;t like lang or wang, so it only comes out to 10.  Excel isn&#039;t quite the OED though.  I have one at 13 and several at 12.  I&#039;ll post the code tomorrow.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Excel doesn&#8217;t like lang or wang, so it only comes out to 10.  Excel isn&#8217;t quite the OED though.  I have one at 13 and several at 12.  I&#8217;ll post the code tomorrow.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rick Rothstein (MVP - Excel)</title>
		<link>http://www.dailydoseofexcel.com/archives/2009/11/04/three-letter-words/#comment-41977</link>
		<dc:creator>Rick Rothstein (MVP - Excel)</dc:creator>
		<pubDate>Wed, 04 Nov 2009 16:34:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=3172#comment-41977</guid>
		<description>&lt;p&gt;A couple of notes regarding these two lines from your posted code...&lt;/p&gt;
&lt;p&gt;vaVowels = Array(&quot;a&quot;, &quot;e&quot;, &quot;i&quot;, &quot;o&quot;, &quot;u&quot;)&lt;br&gt;
.....&lt;br&gt;
For k = 1 To 5 &#039;should have used 0 to 4 here[&lt;/p&gt;
&lt;p&gt;and this line from our VB Note...&lt;/p&gt;
&lt;p&gt;But there&#039;s no excuse for not remembering that Array produces a zero-based array.&lt;/p&gt;
&lt;p&gt;To have avoided the problem you encountered with the For statement, you could have used this instead...&lt;/p&gt;
&lt;p&gt;For k = LBound(vaVowels) To UBound(vaVowels)&lt;/p&gt;
&lt;p&gt;so that you wouldn&#039;t have had to worry about the bounds of the array produced by the Array function. And that is what you should have used because the Array function does **not** always produce a zero-based array... the lower bound is dependent on the Option Base statement. The default for the Option Base statement (for when it is not explicitly specified) is 0; however, if you use this...&lt;/p&gt;
&lt;p&gt;Option Base 1&lt;/p&gt;
&lt;p&gt;at the top of your code window; then *almost* all arrays created in VB where the lower bound is not explicitly set to something other than 1 would have a lower bound of 1... this includes arrays produced by the Array function. So using 0 to 4, and/or your workaround of using vaVowels(k-1) with specified bounds of 1 to 5 only work for programmers who use an Option Base of 0 (whether explicitly specified or not). I&#039;m guessing you are wondering why I highlighted the word &quot;almost&quot; a moment ago, right? That is because there is an exception to this rule... the Split function **always** produces a zero-based array no matter what the Option Base is set to. So, you could have used this to produce the vaVowels...&lt;/p&gt;
&lt;p&gt;vaVowels = Split(&quot;a e i o u&quot;) &#039;when a delimiter is not specified, Split uses a space&lt;/p&gt;
&lt;p&gt;and then using this &quot;For k = 0 To 4? and &quot;vaVowels(k)&quot; would always work.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>A couple of notes regarding these two lines from your posted code&#8230;</p>
<p>vaVowels = Array(&#8220;a&#8221;, &#8220;e&#8221;, &#8220;i&#8221;, &#8220;o&#8221;, &#8220;u&#8221;)<br />
&#8230;..<br />
For k = 1 To 5 &#8216;should have used 0 to 4 here[</p>
<p>and this line from our VB Note&#8230;</p>
<p>But there&#8217;s no excuse for not remembering that Array produces a zero-based array.</p>
<p>To have avoided the problem you encountered with the For statement, you could have used this instead&#8230;</p>
<p>For k = LBound(vaVowels) To UBound(vaVowels)</p>
<p>so that you wouldn&#8217;t have had to worry about the bounds of the array produced by the Array function. And that is what you should have used because the Array function does **not** always produce a zero-based array&#8230; the lower bound is dependent on the Option Base statement. The default for the Option Base statement (for when it is not explicitly specified) is 0; however, if you use this&#8230;</p>
<p>Option Base 1</p>
<p>at the top of your code window; then *almost* all arrays created in VB where the lower bound is not explicitly set to something other than 1 would have a lower bound of 1&#8230; this includes arrays produced by the Array function. So using 0 to 4, and/or your workaround of using vaVowels(k-1) with specified bounds of 1 to 5 only work for programmers who use an Option Base of 0 (whether explicitly specified or not). I&#8217;m guessing you are wondering why I highlighted the word &#8220;almost&#8221; a moment ago, right? That is because there is an exception to this rule&#8230; the Split function **always** produces a zero-based array no matter what the Option Base is set to. So, you could have used this to produce the vaVowels&#8230;</p>
<p>vaVowels = Split(&#8220;a e i o u&#8221;) &#8216;when a delimiter is not specified, Split uses a space</p>
<p>and then using this &#8220;For k = 0 To 4? and &#8220;vaVowels(k)&#8221; would always work.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

