Get Name of the WeekDay (Excel VBA)
Debug.Print(WeekdayName(1))
Debug.Print(WeekdayName(1, True))
Debug.Print(WeekdayName(1, False, vbSunday))
Debug.Print(WeekdayName(1, True, vbSunday))
End Sub
The above function would give result as :
'Monday
'Mon
'Sunday
'Sun
No comments:
Post a Comment