Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
Sorry about that. It works fine if you remove some of the dims like this. Dim totaltime As Long starttime = Now() 'Your code here Endtime = Now() totaltime = DateDiff("s", starttime, endtime) 'convert seconds into minutes and seconds to display Mins = Int(totaltime \ 60) Secs = totaltime Mod 60 Totaltimetaken = Mins & " Minute(s) and " & secs & " Seconds." MsgBox(Totaltimetaken) HTH Ken |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Time it takes to save my file | Setting up and Configuration of Excel | |||
MS Query takes along time to open | Excel Worksheet Functions | |||
Save takes long time | Excel Discussion (Misc queries) | |||
time sheet that takes out taxes | Excel Worksheet Functions | |||
Saving Takes long time | Excel Programming |