Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
Try something like:
Sub MsgTimer() Dim StartTime As Single Dim EndTime As Single StartTime = Timer 'Your code here EndTime = Timer MsgBox "Time taken: " & EndTime - StartTime & " seconds" End Sub Regards Rowan "Greegan" wrote: What I want to do is show that the macros I've been working on actually saves time at work, but I want to know how much time. I would like to have the finished time appear in a msg box with an okay to close I'm not sure how to add a msg box let alone the start time, end time and the calculation to provide the final answer. Can anyone help me with this? I'm not sure what happened but I submitted this answer on the 28th and I can't believe it was deleted already... Thanks in advance G |
#2
![]() |
|||
|
|||
![]()
What I want to do is show that the macros I've been working on actually
saves time at work, but I want to know how much time. I would like to have the finished time appear in a msg box with an okay to close I'm not sure how to add a msg box let alone the start time, end time and the calculation to provide the final answer. Can anyone help me with this? I'm not sure what happened but I submitted this answer on the 28th and I can't believe it was deleted already... Thanks in advance G |
#3
![]() |
|||
|
|||
![]()
Thank you that was awesome!
"Rowan" wrote in message ... Try something like: Sub MsgTimer() Dim StartTime As Single Dim EndTime As Single StartTime = Timer 'Your code here EndTime = Timer MsgBox "Time taken: " & EndTime - StartTime & " seconds" End Sub Regards Rowan "Greegan" wrote: What I want to do is show that the macros I've been working on actually saves time at work, but I want to know how much time. I would like to have the finished time appear in a msg box with an okay to close I'm not sure how to add a msg box let alone the start time, end time and the calculation to provide the final answer. Can anyone help me with this? I'm not sure what happened but I submitted this answer on the 28th and I can't believe it was deleted already... Thanks in advance G |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
help with date and time | Excel Worksheet Functions | |||
time differences in a column | Excel Worksheet Functions | |||
Time Sheet Calculation Help Needed! | Excel Worksheet Functions | |||
Time Sheets | Excel Discussion (Misc queries) | |||
unmet challenge | Excel Worksheet Functions |