Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Day of the Week in Excel

If I have a certain date in a field, say June 12, 2008, is there anyway to
do something that will tell me what day of the week that was.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,501
Default Day of the Week in Excel

Hi,

You posted in programming so do you want

r = Format(Weekday(Range("A1").Value), "dddd")

or on the worksheet

=weekday(a1)

forma as dddd

Mike

"Kat5813" wrote:

If I have a certain date in a field, say June 12, 2008, is there anyway to
do something that will tell me what day of the week that was.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,058
Default Day of the Week in Excel

Thursday:

Sub YouWhereThere()
s = DateValue("June 12 2008")
MsgBox (Format(s, "dddd"))
End Sub

--
Gary''s Student - gsnu200832


"Kat5813" wrote:

If I have a certain date in a field, say June 12, 2008, is there anyway to
do something that will tell me what day of the week that was.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert regular Date to Week Ending or Week Beginning Dates Sam H Excel Discussion (Misc queries) 5 April 3rd 23 04:39 PM
update week to week in excel. Rudy Excel Worksheet Functions 2 September 4th 06 05:35 PM
update week to week in excel. Rudy Excel Worksheet Functions 3 September 4th 06 03:20 PM
How do I change from a 7 day week to a 5 day week in Excel? mozzer10 Excel Discussion (Misc queries) 1 August 25th 06 04:50 PM
How do I set up a week by week skill training schedule in excel? davidwatts Excel Discussion (Misc queries) 0 June 16th 05 11:32 PM


All times are GMT +1. The time now is 11:44 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"