Excel VBA, Timer

Sub timerBasics()

    Dim current_time As Single
        
    current_time = Timer

    MsgBox current_time             ' elapsed second from 00:00:00
    MsgBox current_time / 60       ' elapsed minute from 00:00:00
    MsgBox current_time / 3600    ' elapsed hour from 00:00:00
    
End Sub

댓글

이 블로그의 인기 게시물

<배당주 투자> 배당주(은행) '22년 8월

은행주 - 배당주 투자 일기, 2022.07.04(월)

<배당주 투자> 지주사, '22년 8월