Day of the Week in Excel

K

Kat5813

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.
 
M

Mike H

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
 
G

Gary''s Student

Thursday:

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top