Hi All
I was wondering if there is any formulas for putting a working clock on an excel spread sheet so that its on view all the time and works like a normal clock?
Thanks Guys
casper69
![]()
Hi All
I was wondering if there is any formulas for putting a working clock on an excel spread sheet so that its on view all the time and works like a normal clock?
Thanks Guys
casper69
![]()
theres vba which will put time in a cell is that what you mean?
in a standard module
then in this workbook![]()
Dim SchedRecalc As Date Sub Recalc() Range("C3").Value = Format(Now, "dd-mmm-yy") Range("C4").Value = Format(Time, "hh:mm:ss AM/PM") Call SetTime End Sub Sub SetTime() SchedRecalc = Now + TimeValue("00:00:01") Application.OnTime SchedRecalc, "Recalc" End Sub Sub Disable() On Error Resume Next Application.OnTime EarliestTime:=SchedRecalc, Procedure:="Recalc", Schedule:=False End Sub
this will put date /time in c4/c3 of all sheets. but it is not very efficient as its constantly running /updating i tried to pin it to one sheet but then thats all it does it jumps to that on every update. there must be a better way![]()
Private Sub Workbook_BeforeClose(Cancel As Boolean) Disable End Sub Private Sub Workbook_Open() SetTime End Sub
Last edited by martindwilson; 01-26-2009 at 02:30 PM.
IMO, that's a very bad idea. For one thing, it kills Undo. What's wrong with the clock on the taskbar?I was wondering if there is any formulas for putting a working clock on an excel spread sheet so that its on view all the time and works like a normal clock?
Entia non sunt multiplicanda sine necessitate
Hi
What i am after is a set up like you would do with the date.
something that looks like: 12:54:01 PM
Regards
casper69
Hi,
I wonder why nobody suggested
=NOW()
Worksheet function.
Shijesh Kumar
http://shijesh.wordpress.com/
Hi
=NOW()
Brings the current time in but as the minutes pass by the clock dont change
Regards
Ps, there is nothing wrong with the time in the task bar at all i just wondered if it is possible to put a working clock in a spread sheet?
casper69
ok try this add-in download an extract to a folder. then use tools add ins and select tm digital clock
as i have no idea where to do this in 2007 good luck!
http://www.tushar-mehta.com/excel/so...ital_clock.htm
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks