Be the first user to complete this post
|
Add to List |
VBA-Excel: Date-Time Functions - Timer()
Description:
The Timer() function returns the Number of seconds and MiliSeconds since 12:00 AM.
Format:
Timer()
Example:
Function FnTimer() Dim intSeconds intSeconds = Timer MsgBox " No of seconds and MiliSeconds since 12:00 AM are-> " & intSeconds End Function
Also Read:
- VBA-Excel: Date-Time Functions – Hour(), Minute(), Second()
- VBA Excel – Refer to Multiple Ranges : Union Method
- VBA-Excel: Date-Time Functions – DateAdd()
- VBA-Excel: String Functions – Len()
- VBA-Excel: Date-Time Functions – DateSerial()