01-05-2021
11:43 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
01-05-2021
11:43 AM
Here is another simple 'Timer' example rule, which uses a different method.
Dim oStart, oFinish, oTotal As Double
MsgBox("Click 'OK' to start the timer.",,"")
oStart = Microsoft.VisualBasic.DateAndTime.Timer
MsgBox("Click 'STOP' to stop the timer.",,"")
oFinish = Microsoft.VisualBasic.DateAndTime.Timer
oTotal = oFinish - oStart
MsgBox(oTotal & " seconds have elapsed.",,"")
If this solved your problem, or answered your question, please click ACCEPT SOLUTION.
Or, if this helped you, please click 'LIKE'
.
Wesley Crihfield
(Not an Autodesk Employee)