TimeSerial(hour, minute, second) returns a Variant/Date containing the time for the specified hour, minute, and second : TimeSerial « Date Functions « VBA / Excel / Access / Word






TimeSerial(hour, minute, second) returns a Variant/Date containing the time for the specified hour, minute, and second

 
Sub dateDemo14()
   Debug.Print TimeSerial(11, 12, 13)
End Sub

 








Related examples in the same category

1.TimeSerial(9, 0, 0) returns 9:00:00 AM
2.Scheduling a Macro to Run x Minutes in the Future