Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
get day from date
Hi,
I have a date entered by the user into an input box in the form dd/mm/yy. I want to be able to tell if that date is on the weekend. Is there a function/way to say if, for example, 10/10/04 = Sunday? Many thanks in advance Greg |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
get day from date
If Weekday(CDate(ans),1) = vbSaturday Then
MsgBox "It's Saturday" End If -- HTH RP "Greg Billinge" wrote in message ... Hi, I have a date entered by the user into an input box in the form dd/mm/yy. I want to be able to tell if that date is on the weekend. Is there a function/way to say if, for example, 10/10/04 = Sunday? Many thanks in advance Greg |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Concatenate including a date so that the date appears as a date | Excel Worksheet Functions | |||
date in Cell to change colors if the date is beyond today's date | Excel Discussion (Misc queries) | |||
Making a date go red, if date passes todays date. | Excel Worksheet Functions | |||
Report Date - Date Recv = Days Late, but how to rid completed date | Excel Worksheet Functions | |||
Date updates from worksheet to chart & changes date to a date series! Help!! | Charts and Charting in Excel |