ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Pop up timer for excel (https://www.excelbanter.com/excel-discussion-misc-queries/156654-pop-up-timer-excel.html)

jlclyde

Pop up timer for excel
 
Is there a Pop up clock like the Pop up calendar for Excel? It would
be best if it had date and time on one.

Thanks,
Jay


FSt1

Pop up timer for excel
 
hi,
xl has bo built in function for this and I am sure if you search the net
enought you might find one. but you can make one yourself. oooo
Create a user form with a single text box.
in a standard module put this code.....
Private Sub showclock()
Load UserForm1
UserForm1.Show 0
Call Clock
End Sub
Private Sub Clock()
UserForm1.tb1.Value = Format(Now, "hh:mm:ss AM/PM")
Application.OnTime Now + TimeSerial(0, 0, 1), "clock"
End Sub

Attach the Private Sub showclock to a custom icon. done.

I got this code from this web site.....
http://www.mvps.org/dmcritchie/excel/datetime.htm
except their code puts the timer in a cell so i made a popup out of it.
Check this site out if yo want to know a thing or two about time and dates
in excel.

regards
FSt1

"jlclyde" wrote:

Is there a Pop up clock like the Pop up calendar for Excel? It would
be best if it had date and time on one.

Thanks,
Jay




All times are GMT +1. The time now is 12:58 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com