#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 117
Default TIME CLOCK code?

I am trying to figure out a better more accurate way to run a clock with in
an excel sheet rather then using the NOW() function. I have a macro that runs
off a website but the problem is it is a contantly running code and when i
try to execute other macro's while it runs it disables the clock macro and
debugs on me. Any suggestions?

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7,247
Default TIME CLOCK code?

On way would be to use Application.OnTime to run a macro every second or two
(or more). If Excel is busy when the OnTime pops (e.g., another macro is
running or you are editing a cell), OnTime will defer the event until Excel
is ready. See www.cpearson.com/Excel/OnTime.aspx for more details about
working with OnTime.


--
Cordially,
Chip Pearson
Microsoft Most Valuable Professional
Excel Product Group
Pearson Software Consulting, LLC
www.cpearson.com
(email on web site)




"Jase" wrote in message
...
I am trying to figure out a better more accurate way to run a clock with in
an excel sheet rather then using the NOW() function. I have a macro that
runs
off a website but the problem is it is a contantly running code and when i
try to execute other macro's while it runs it disables the clock macro and
debugs on me. Any suggestions?


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 117
Default TIME CLOCK code?

A little confused. where does this display a timer if it does. Am I suppose
to enter my own code with in your code? A little more direction would be
great.

thanks

"Chip Pearson" wrote:

On way would be to use Application.OnTime to run a macro every second or two
(or more). If Excel is busy when the OnTime pops (e.g., another macro is
running or you are editing a cell), OnTime will defer the event until Excel
is ready. See www.cpearson.com/Excel/OnTime.aspx for more details about
working with OnTime.


--
Cordially,
Chip Pearson
Microsoft Most Valuable Professional
Excel Product Group
Pearson Software Consulting, LLC
www.cpearson.com
(email on web site)




"Jase" wrote in message
...
I am trying to figure out a better more accurate way to run a clock with in
an excel sheet rather then using the NOW() function. I have a macro that
runs
off a website but the problem is it is a contantly running code and when i
try to execute other macro's while it runs it disables the clock macro and
debugs on me. Any suggestions?


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 117
Default TIME CLOCK code?

Ok I got the code running and updating a clock within my excel sheet but like
you said it keeps closing out on me when I try to make changes with in my
sheet. I thought the coe is suppose to pause until I am done?

"Chip Pearson" wrote:

On way would be to use Application.OnTime to run a macro every second or two
(or more). If Excel is busy when the OnTime pops (e.g., another macro is
running or you are editing a cell), OnTime will defer the event until Excel
is ready. See www.cpearson.com/Excel/OnTime.aspx for more details about
working with OnTime.


--
Cordially,
Chip Pearson
Microsoft Most Valuable Professional
Excel Product Group
Pearson Software Consulting, LLC
www.cpearson.com
(email on web site)




"Jase" wrote in message
...
I am trying to figure out a better more accurate way to run a clock with in
an excel sheet rather then using the NOW() function. I have a macro that
runs
off a website but the problem is it is a contantly running code and when i
try to execute other macro's while it runs it disables the clock macro and
debugs on me. Any suggestions?


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 117
Default TIME CLOCK code?

Ok, now everytime I just run it it closes out on me after 2 seconds.

"Chip Pearson" wrote:

On way would be to use Application.OnTime to run a macro every second or two
(or more). If Excel is busy when the OnTime pops (e.g., another macro is
running or you are editing a cell), OnTime will defer the event until Excel
is ready. See www.cpearson.com/Excel/OnTime.aspx for more details about
working with OnTime.


--
Cordially,
Chip Pearson
Microsoft Most Valuable Professional
Excel Product Group
Pearson Software Consulting, LLC
www.cpearson.com
(email on web site)




"Jase" wrote in message
...
I am trying to figure out a better more accurate way to run a clock with in
an excel sheet rather then using the NOW() function. I have a macro that
runs
off a website but the problem is it is a contantly running code and when i
try to execute other macro's while it runs it disables the clock macro and
debugs on me. Any suggestions?


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
TIME CLOCK CODE Jase Excel Discussion (Misc queries) 0 April 29th 08 06:46 PM
How do I calculate time in excel (clock in and clock out chad Excel Discussion (Misc queries) 3 January 7th 08 10:09 PM
Change EXCEL Clock to Standard Clock or Military Time YoMarie Excel Worksheet Functions 4 April 29th 07 08:39 PM
can cell's act like time clock at a certen time/date for payments Colin2u Excel Discussion (Misc queries) 6 August 5th 05 12:20 AM
Time Clock Jimcrushes Excel Worksheet Functions 5 March 17th 05 05:15 PM


All times are GMT +1. The time now is 11:10 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"