LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 16
Default Using IeTimer in Excel Programming

Hello Experts,
I have Excel 97 Pro on Win98SE.

I have downloaded ietimer.cab and somehow installed it. I have tested it by
some simple means and the test was successful.
Then I tried to use it in a code which had many long and complex procedures.
Actually, I wanted to calculate time in which a certain result was acquired.

That's how I have done:
IeTimer is enabled before running the core procedures. The interval is
already set. In IeTimer's Timer event, a certain global variable is
increased by one after every second.
After the core procedures complete their task, ietimer is disabled and the
value of the variable containing time is displayed through a MsgBox.
As the core procedures are quite complex and contain many loops, therefore,
they take 5 to 900 seconds to accomplish a certain task depending on
processor speed.

Theoretically the right time taken should be displayed but practically the
time displayed is always zero. I don't understand why is it so.
Does Timer event of IeTimer never fire during the running of core
procedures?
If it is so how do I calculate time of accomplishing a certain task?

Thank you,
--
Syed Zeeshan Haider



--------------------------------------------------
http://szh.20m.com
http://gomusharrafgo.20m.com


 
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
Or Excel Programming Help Me please some body... Excel Worksheet Functions 1 August 2nd 07 11:32 PM
Excel Programming [email protected] Excel Worksheet Functions 0 April 14th 06 07:13 AM
Excel Programming help Geoff D'Arcy Excel Worksheet Functions 2 November 1st 04 06:31 PM
Very New in Excel Programming Wael Mabsout Excel Programming 0 January 18th 04 07:26 PM
Excel Programming aly1cat[_2_] Excel Programming 3 January 7th 04 03:56 PM


All times are GMT +1. The time now is 02:18 PM.

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"