Public Function WeekdayFmString( _ ByVal vDayName As Variant _ ) As Variant
WeekdayFmString("Saturday") = vbSaturday WeekdayFmString("Tuesday") = vbTuesday IsNull(WeekdayFmString("Otherday")) = TrueSee also:
WeekdayToString Function vbSunday Property, et. al.vDayName: String containing the name of one of the days of the week. Function returns Null if vDayName is Null or cannot be fixed up to a String. This function recognizes the following names: Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, and Saturday. The match is not case-sensitive so, for example, "monday" and "MONDAY" both match "Monday". Function returns Null if vDayName is not one of the valid weekday names.
Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.