Friday, 25 October 2013

Excel macro to get the day name of given date

Sub getDayName()
'Print today's day name
MsgBox WeekdayName(Weekday(Now))
'To print day name of any given date you can use below macro code
MsgBox WeekdayName(Weekday("09-jan-1988"))
End Sub


What do you think on above excel macro topic? Please provide your input, comments, questions on excel macro. I will try to reply as soon as possible. I value your opinion on Excel Macros.

No comments:

Post a Comment

Popular Posts

Search This Blog