Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default time taken to recalculate


Does anyone know if it is possible to set a macro that will monitor th
time it takes a spreadsheet to recalculate itself when the F9 key i
pressed, or when a button is pressed that calls a recalculate macro ?

If anyone has experience of this, then many thanks for your help.

Scott

--
scottwilson
-----------------------------------------------------------------------
scottwilsonx's Profile: http://www.excelforum.com/member.php...fo&userid=1112
View this thread: http://www.excelforum.com/showthread.php?threadid=27039

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 134
Default time taken to recalculate

hi,
i'm not sure exactly what you are asking but have a look
at this site. it's all about time and dates, timers ect.
large site.

http://www.mvps.org/dmcritchie/excel/datetime.htm

regards
Frank
-----Original Message-----

Does anyone know if it is possible to set a macro that

will monitor the
time it takes a spreadsheet to recalculate itself when

the F9 key is
pressed, or when a button is pressed that calls a

recalculate macro ?

If anyone has experience of this, then many thanks for

your help.

Scott.


--
scottwilsonx
----------------------------------------------------------

--------------
scottwilsonx's Profile:

http://www.excelforum.com/member.php?
action=getinfo&userid=11128
View this thread:

http://www.excelforum.com/showthread...hreadid=270398

.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default time taken to recalculate


I believe what he is asking is if he's updating a sheet in his macro an
that change will affect many calculations through his sheet(s). Then
he wants to know if he will need to wait/pause before using th
calculations. He doesn't want to go through the whole macro with old
and therefore bad, data because he picked up the calculation value
before they were updated from his previous change. That's probably wh
he wants to time it - then he can pause the macro for that long plu
some buffer.

Jorda

--
jordanct
-----------------------------------------------------------------------
jordanctc's Profile: http://www.excelforum.com/member.php...nfo&userid=676
View this thread: http://www.excelforum.com/showthread.php?threadid=27039

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 47
Default time taken to recalculate

you can store the value of now in a variable in line 1 of your code, and
then in the final line of your code deduct the variable from now to
determine time elapsed.

Sub Your_Code()
DIM something as something
DIM StartTime as variant
Startime=now

Your code.......

msg="Time taken is " & Round((Now - starttime) * 24 * 60 * 60, 2) & "
seconds"
msgbox msg
end sub

should display a message with seconds to 2 decimal places


"scottwilsonx" wrote in message
...

Does anyone know if it is possible to set a macro that will monitor the
time it takes a spreadsheet to recalculate itself when the F9 key is
pressed, or when a button is pressed that calls a recalculate macro ?

If anyone has experience of this, then many thanks for your help.

Scott.


--
scottwilsonx
------------------------------------------------------------------------
scottwilsonx's Profile:
http://www.excelforum.com/member.php...o&userid=11128
View this thread: http://www.excelforum.com/showthread...hreadid=270398



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Recalculate in VBA dhstein Excel Discussion (Misc queries) 3 May 24th 09 08:21 PM
Excel to recalculate a worksheet based on a time interval HeireneM Excel Worksheet Functions 5 March 7th 07 03:12 PM
Recalculate changes only hmm Excel Discussion (Misc queries) 3 December 18th 06 01:06 PM
Won't recalculate Erin Excel Discussion (Misc queries) 2 January 8th 05 03:56 AM
will not recalculate Ray S Excel Worksheet Functions 7 December 30th 04 07:42 AM


All times are GMT +1. The time now is 06:13 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"