TimeValue("9:00") returns 9:00:00 AM : TimeValue « Date Functions « VBA / Excel / Access / Word






TimeValue("9:00") returns 9:00:00 AM

 
Sub timeValueDemo()
    Debug.Print timeValue("9:00")
End Sub

 








Related examples in the same category

1.TimeValue(time) returns A Variant/Date containing the time for time
2.TimerValue function returns time value
3.Program an event for 3:00 p.m.:
4.To schedule an event relative to the current time - for example, 20 minutes from now
5.Scheduling a Verbal Reminder