<?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: How To: Get the Weekday as Text in Excel VBA</title>
	<atom:link href="http://tiposaurus.co.uk/2009/06/how-to-get-the-weekday-as-text-in-excel-vba/feed/" rel="self" type="application/rss+xml" />
	<link>http://tiposaurus.co.uk/2009/06/how-to-get-the-weekday-as-text-in-excel-vba/</link>
	<description>Rawrr.</description>
	<lastBuildDate>Mon, 19 Oct 2009 09:54:25 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Abhijeet</title>
		<link>http://tiposaurus.co.uk/2009/06/how-to-get-the-weekday-as-text-in-excel-vba/comment-page-1/#comment-22</link>
		<dc:creator>Abhijeet</dc:creator>
		<pubDate>Mon, 19 Oct 2009 09:54:25 +0000</pubDate>
		<guid isPermaLink="false">http://tiposaurus.co.uk/2009/06/how-to-get-the-weekday-as-text-in-excel-vba/#comment-22</guid>
		<description>I have a simpler formula to get weekdays
If cell A1 has a date, i would simply use a formula =text(A1,&quot;ddd&quot;) and i have the mon, tue, wed,etc for the relevant date in cell A1.
Thanks.</description>
		<content:encoded><![CDATA[<p>I have a simpler formula to get weekdays<br />
If cell A1 has a date, i would simply use a formula =text(A1,&#8221;ddd&#8221;) and i have the mon, tue, wed,etc for the relevant date in cell A1.<br />
Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://tiposaurus.co.uk/2009/06/how-to-get-the-weekday-as-text-in-excel-vba/comment-page-1/#comment-21</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Tue, 15 Sep 2009 02:46:11 +0000</pubDate>
		<guid isPermaLink="false">http://tiposaurus.co.uk/2009/06/how-to-get-the-weekday-as-text-in-excel-vba/#comment-21</guid>
		<description>Hello all, Yes! I am a quite the newbie to Excel... I am hoping that one of you will have an answer to my question:
 I am working on a production schedule in Excel. I have figured how long each job will take… now I would like to add the calculated time it will take to the start date, but also consider we only work 4 days a week (Monday- Thursday),  for example: I don’t want the completion date to fall on a Saturday. Is there an easy way to achieve this?</description>
		<content:encoded><![CDATA[<p>Hello all, Yes! I am a quite the newbie to Excel&#8230; I am hoping that one of you will have an answer to my question:<br />
 I am working on a production schedule in Excel. I have figured how long each job will take… now I would like to add the calculated time it will take to the start date, but also consider we only work 4 days a week (Monday- Thursday),  for example: I don’t want the completion date to fall on a Saturday. Is there an easy way to achieve this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tiposaurus</title>
		<link>http://tiposaurus.co.uk/2009/06/how-to-get-the-weekday-as-text-in-excel-vba/comment-page-1/#comment-20</link>
		<dc:creator>Tiposaurus</dc:creator>
		<pubDate>Sun, 30 Aug 2009 20:10:59 +0000</pubDate>
		<guid isPermaLink="false">http://tiposaurus.co.uk/2009/06/how-to-get-the-weekday-as-text-in-excel-vba/#comment-20</guid>
		<description>Thanks for the comments.

As I said in the article, the code I wrote isn&#039;t great. At the time it was a quick hack to provide an immediate solution. A couple of comments have given much better solutions.

#3, Bernard: Yep, a select case would certainly be more elegant.  Alternatively, I suspect an improvement on my code would be to use Else If&#039;s, rather than repeated If&#039;s.

#4, Atroson: Thanks, I didn&#039;t know the TEXT() function did that!  I also notice that the following seems to work in Excel 2003:
=TEXT(A1,&quot;ddd&quot;) will return &quot;Wed&quot;, while
=TEXT(A1,&quot;dddd&quot;) will return &quot;Wednesday&quot;
So it doesn&#039;t look like the weekday() function is needed.</description>
		<content:encoded><![CDATA[<p>Thanks for the comments.</p>
<p>As I said in the article, the code I wrote isn&#8217;t great. At the time it was a quick hack to provide an immediate solution. A couple of comments have given much better solutions.</p>
<p>#3, Bernard: Yep, a select case would certainly be more elegant.  Alternatively, I suspect an improvement on my code would be to use Else If&#8217;s, rather than repeated If&#8217;s.</p>
<p>#4, Atroson: Thanks, I didn&#8217;t know the TEXT() function did that!  I also notice that the following seems to work in Excel 2003:<br />
=TEXT(A1,&#8221;ddd&#8221;) will return &#8220;Wed&#8221;, while<br />
=TEXT(A1,&#8221;dddd&#8221;) will return &#8220;Wednesday&#8221;<br />
So it doesn&#8217;t look like the weekday() function is needed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tonnie Bleumink</title>
		<link>http://tiposaurus.co.uk/2009/06/how-to-get-the-weekday-as-text-in-excel-vba/comment-page-1/#comment-19</link>
		<dc:creator>Tonnie Bleumink</dc:creator>
		<pubDate>Thu, 06 Aug 2009 09:55:18 +0000</pubDate>
		<guid isPermaLink="false">http://tiposaurus.co.uk/2009/06/how-to-get-the-weekday-as-text-in-excel-vba/#comment-19</guid>
		<description>Dankje voor deze handige functie, heb hem toegepast en werkt prima,

Thankx for this function, I used it en works fine</description>
		<content:encoded><![CDATA[<p>Dankje voor deze handige functie, heb hem toegepast en werkt prima,</p>
<p>Thankx for this function, I used it en works fine</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Atroson</title>
		<link>http://tiposaurus.co.uk/2009/06/how-to-get-the-weekday-as-text-in-excel-vba/comment-page-1/#comment-18</link>
		<dc:creator>Atroson</dc:creator>
		<pubDate>Fri, 31 Jul 2009 20:29:05 +0000</pubDate>
		<guid isPermaLink="false">http://tiposaurus.co.uk/2009/06/how-to-get-the-weekday-as-text-in-excel-vba/#comment-18</guid>
		<description>=TEXT(WEEKDAY(A1),&quot;ddd&quot;)

This is easier and faster to use than the nested IF statements.  Hope this helps.</description>
		<content:encoded><![CDATA[<p>=TEXT(WEEKDAY(A1),&#8221;ddd&#8221;)</p>
<p>This is easier and faster to use than the nested IF statements.  Hope this helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bernard</title>
		<link>http://tiposaurus.co.uk/2009/06/how-to-get-the-weekday-as-text-in-excel-vba/comment-page-1/#comment-17</link>
		<dc:creator>Bernard</dc:creator>
		<pubDate>Mon, 27 Jul 2009 06:25:52 +0000</pubDate>
		<guid isPermaLink="false">http://tiposaurus.co.uk/2009/06/how-to-get-the-weekday-as-text-in-excel-vba/#comment-17</guid>
		<description>May be a select case would be more &quot;elegant&quot;?
Sub MyProcedure()
Dim intDay%
Dim strDay$
intDay = Weekday(Date)
strDay = dayText(intDay)
End Sub
Function dayText(intDay As Integer) As String
    Select Case intDay
        Case 1
            dayText = &quot;Sunday&quot;
        Case 2
            dayText = &quot;Monday&quot;
        Case 3
            dayText = &quot;Tuesday&quot;
        Case 4
            dayText = &quot;Wednesday&quot;
        Case 5
            dayText = &quot;Thursday&quot;
        Case 6
            dayText = &quot;Friday&quot;
        Case 7
            dayText = &quot;Saturday&quot;
    End Select
End Function</description>
		<content:encoded><![CDATA[<p>May be a select case would be more &#8220;elegant&#8221;?<br />
Sub MyProcedure()<br />
Dim intDay%<br />
Dim strDay$<br />
intDay = Weekday(Date)<br />
strDay = dayText(intDay)<br />
End Sub<br />
Function dayText(intDay As Integer) As String<br />
    Select Case intDay<br />
        Case 1<br />
            dayText = &#8220;Sunday&#8221;<br />
        Case 2<br />
            dayText = &#8220;Monday&#8221;<br />
        Case 3<br />
            dayText = &#8220;Tuesday&#8221;<br />
        Case 4<br />
            dayText = &#8220;Wednesday&#8221;<br />
        Case 5<br />
            dayText = &#8220;Thursday&#8221;<br />
        Case 6<br />
            dayText = &#8220;Friday&#8221;<br />
        Case 7<br />
            dayText = &#8220;Saturday&#8221;<br />
    End Select<br />
End Function</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ahmad Al-Musallami</title>
		<link>http://tiposaurus.co.uk/2009/06/how-to-get-the-weekday-as-text-in-excel-vba/comment-page-1/#comment-15</link>
		<dc:creator>Ahmad Al-Musallami</dc:creator>
		<pubDate>Sun, 19 Jul 2009 14:09:38 +0000</pubDate>
		<guid isPermaLink="false">http://tiposaurus.co.uk/2009/06/how-to-get-the-weekday-as-text-in-excel-vba/#comment-15</guid>
		<description>Hi.

I think that there is even an esier way to do it, using the cell formating (custom format).

STEPS:
1. Right Click the cell or press Ctrl + 1. The Format Cells window appears.

2. From the &quot;Number&quot; tab, select &quot;Custom&quot; from &quot;Category&quot; list on the left.

3. On the Type box write the following format code &quot;ddd dd/mm/yyyy&quot;.

4. Click OK.

5. Make sure that the cell if wide enough to display the number correctly, so if you see &quot;##########&quot; then you need to streach the column a bit wider.

Good luck.

Ahmad Al-Musallami
aalmusallami@gmail.com</description>
		<content:encoded><![CDATA[<p>Hi.</p>
<p>I think that there is even an esier way to do it, using the cell formating (custom format).</p>
<p>STEPS:<br />
1. Right Click the cell or press Ctrl + 1. The Format Cells window appears.</p>
<p>2. From the &#8220;Number&#8221; tab, select &#8220;Custom&#8221; from &#8220;Category&#8221; list on the left.</p>
<p>3. On the Type box write the following format code &#8220;ddd dd/mm/yyyy&#8221;.</p>
<p>4. Click OK.</p>
<p>5. Make sure that the cell if wide enough to display the number correctly, so if you see &#8220;##########&#8221; then you need to streach the column a bit wider.</p>
<p>Good luck.</p>
<p>Ahmad Al-Musallami<br />
<a href="mailto:aalmusallami@gmail.com">aalmusallami@gmail.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arup Adhikari</title>
		<link>http://tiposaurus.co.uk/2009/06/how-to-get-the-weekday-as-text-in-excel-vba/comment-page-1/#comment-14</link>
		<dc:creator>Arup Adhikari</dc:creator>
		<pubDate>Sat, 18 Jul 2009 04:03:43 +0000</pubDate>
		<guid isPermaLink="false">http://tiposaurus.co.uk/2009/06/how-to-get-the-weekday-as-text-in-excel-vba/#comment-14</guid>
		<description>i am very much thanks to you that you give me a lot of information of this source</description>
		<content:encoded><![CDATA[<p>i am very much thanks to you that you give me a lot of information of this source</p>
]]></content:encoded>
	</item>
</channel>
</rss>
