#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Clock?

How can i put a clock on a spreadsheet? i know the formula that wil
put the current time, but i want a clock that will keep time. is thi
possible

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Clock?

I believe Chip Pearson have a example on his site
http://www.cpearson.com/excel/download.htm

Look for Clock

--
Regards Ron de Bruin
http://www.rondebruin.nl


"scottnshelly " wrote in message ...
How can i put a clock on a spreadsheet? i know the formula that will
put the current time, but i want a clock that will keep time. is this
possible?


---
Message posted from http://www.ExcelForum.com/



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default Clock?

Hi
have a look at
http://www.mvps.org/dmcritchie/excel/datetime.htm
scroll down this page to find some stop clocks

--
Regards
Frank Kabel
Frankfurt, Germany

"scottnshelly " schrieb
im Newsbeitrag ...
How can i put a clock on a spreadsheet? i know the formula that will
put the current time, but i want a clock that will keep time. is

this
possible?


---
Message posted from http://www.ExcelForum.com/


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Clock?

thanks. unfortunatley this is for work and i can't download anything o
the work computers. no big deal. just wanted to spruce up a workboo
or two.
thanks for the help guys

--
Message posted from http://www.ExcelForum.com

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 107
Default Clock?

I don't really recommend it, especially as most PCs already have plenty
of clocks but you could try something like this:

Private Sub Worksheet_Activate()
Set clockCell = Range("a1")
showTime
End Sub

Private Sub Worksheet_Deactivate()
On Error Resume Next
Application.OnTime clockTim, "showTime", , False
End Sub

'
'Then in a module
'

Public clockTim As Variant
Public clockCell As Range
Public Sub showTime()
clockCell.Value = Format(Now, "'hh:mm:ss")
clockTim = Now + TimeValue("00:00:01")
Application.OnTime clockTim, "showTime"
End Sub


scottnshelly < wrote:
thanks. unfortunatley this is for work and i can't download anything on
the work computers. no big deal. just wanted to spruce up a workbook
or two.
thanks for the help guys.


---
Message posted from http://www.ExcelForum.com/




  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Clock?

Thanks, that a good one. You say you don't recommend it though? is i
dangerous, or will it slow anything down?
thanks again

--
Message posted from http://www.ExcelForum.com

  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 107
Default Clock?

Any unnecessary code will slow things down a bit.

I don't think this is particularly greedy code, but it's something else
that could potentially go wrong.

Mostly, though, I just don't recomend clocks in general unless there's a
specific reason for them. As a user, I find them irritating.

scottnshelly < wrote:

Thanks, that a good one. You say you don't recommend it though? is it
dangerous, or will it slow anything down?
thanks again.


---
Message posted from http://www.ExcelForum.com/


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
Incremental time values based upon clock in and clock out times saltnsnails Excel Discussion (Misc queries) 8 January 13th 09 08:11 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
Start Clock/Stop Clock abfabrob Excel Discussion (Misc queries) 9 June 28th 05 04:26 PM
Clock lehigh46 Excel Worksheet Functions 1 February 4th 05 01:28 PM


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