date format in VBA

awake2424

Registered User.
Local time
Today, 01:26
Joined
Oct 31, 2007
Messages
479
Code:
 Me.Day_Received = WeekdayName(Weekday(Date))

The above code shows Friday. What is the correct synatx to display:

Friday, 8/15/2014? Thank you.
 
Did you try debugging?

Msgbox WeekdayName(Weekday(Date))
 
Try . . .
Code:
debug.print format(Date(), "dddd, m/d/yy") & "? Thank you."
:D
 

Users who are viewing this thread

Back
Top Bottom