Active Clock

richblake74

Active Member
Joined
Dec 30, 2006
Messages
284
Office Version
  1. 365
Platform
  1. MacOS
Is there anyway of getting an "Active Clock" in a cell.
I know the =now() thing, but this is not what I am looking for,
I would like to get a clock that updates by the minute, without having to select a cell, or make excel do a calculation.
Hope you are all having fun with excel 2007
richblake74 :rolleyes:
 
Sounds like you have an extra excel.exe running. Well... Two is better than one. Right? :)
That's a joke to tell me you don't know eighter or ...?
I hope you believe me this really happened :)

only thing I did:
Restart computer & open file
Still same problem...

tried over and over, then
Deleted code within sub "Tick", saved, closed, opened again, restored code, now running OK :unsure:

This will probably remain a mistery for ever.
kind regards,
Erik
 
Upvote 0

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
I don't really know Erik. For whatever reason, when you open Excel, there are actually two processes that start. Two Excel.exe. One of them closes almost immediately. I have no idea what the second one is for. Maybe using a timer keeps it open? I have no idea...
 
Upvote 0
Can anyone help me?

Im having trouble getting the macro to eun when I open / run the worksheet.

thanks
 
Upvote 0
Re: active Clock

Yes :)

Right click the Excel logo just to the left of File on the menu and select View Code. Paste in the following

Code:
Private Sub Workbook_BeforeClose(cancel As Boolean)
Call StopClock
End Sub

then close the code window. When you close the workbook the timer will stop.


Hi!

Thanks for this info. I'm doing the same thing but with Excel 2010 - There's no "View Code" when right clicking the logo anymore. Where do I put this code?

Thanks for any help
 
Upvote 0
Re: active Clock

Press ALT + F11, in the Project window double click ThisWorkbook then paste in the code.
 
Upvote 0

Forum statistics

Threads
1,216,028
Messages
6,128,393
Members
449,446
Latest member
CodeCybear

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top