Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Timing Excel computations
Hi,
I'm trying to crunch a pretty large set of numbers and once I fire up the function the spreadsheet takes up to 3-4 minutes to finish running. I want to write the time taken from start to finish to a cell. Can someone please help? Thanks, Schiz |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Timing Excel computations
Hi,
You can use: Sub GetTime() T1 = Timer 'You code here T2 = Timer TEnd = T2 - T1 MsgBox TEnd End Sub Rgds, Halim Schizoid Man menuliskan: Hi, I'm trying to crunch a pretty large set of numbers and once I fire up the function the spreadsheet takes up to 3-4 minutes to finish running. I want to write the time taken from start to finish to a cell. Can someone please help? Thanks, Schiz |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Timing Excel computations
Hi ,
You can change MSgBox TEnd to: Range("A1") = TEnd Rgds, Halim |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Timing Excel computations
|
#5
Posted to microsoft.public.excel.programming
|
|||
|
|||
Timing Excel computations
|
#6
Posted to microsoft.public.excel.programming
|
|||
|
|||
Timing Excel computations
Single
demo'd from the immediate window ? typename(timer) Single -- Regards, Tom Ogilvy "Schizoid Man" wrote in message ... wrote: Hi, You can use: Sub GetTime() T1 = Timer 'You code here T2 = Timer TEnd = T2 - T1 MsgBox TEnd End Sub Rgds, Halim Hi Halim, Thanks for the input. What variable type should I dim T1 as? I'm not a big fan of using variants. Thanks, Schiz |
#7
Posted to microsoft.public.excel.programming
|
|||
|
|||
Timing Excel computations
Hi Zoid,
Maybe you have to post your current macro or function you wish to get the ending time, so someone else can take a time to read them ... Thanks, Halim Schizoid Man menuliskan: Another thing - I am going to use this code is a very expensive function that I am entering in with a matrix enter combo. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
survey traverse computations | Excel Discussion (Misc queries) | |||
computations at odd locations | Excel Discussion (Misc queries) | |||
DATE COMPUTATIONS | Excel Worksheet Functions | |||
Date formats and computations -- Help | Excel Worksheet Functions | |||
VBA + Excel Web Query - Timing Issues | Excel Programming |