Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Displaying of a cool virtual clock in Excel

Hi, anyone knows how to install and display a virtual clock in an Excel
worksheet?

Or rather, is that possible at all? Coz using the command of =NOW() in an
Excel worksheet will only display a static line of Date and Time. I thought
it will be a better presentation if a virutal clock can be installed as an
add-in in Excel worksheet.

Thanks :-)

Regards,
Derek
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,942
Default Displaying of a cool virtual clock in Excel

hi
create a small form in excel with a single text box. then put this code in
the form.
Private Sub CB1_Click()
Load UserForm1
UserForm1.Show 0
Call xlClock
End Sub
Private Sub ShowxlClock()
If UserForm1.Visible = True Then
UserForm1.tb1.Value = Format(Now, "hh:mm:ss AM/PM")
Application.OnTime Now + TimeSerial(0, 0, 1), "xlClock"
Else
Exit Sub
End If
End Sub
you can install it as an addin. i have it in my personal.xls
i run this from a custom icon on my custom toolbar.

regards
FSt1

"Derek Foo" wrote:

Hi, anyone knows how to install and display a virtual clock in an Excel
worksheet?

Or rather, is that possible at all? Coz using the command of =NOW() in an
Excel worksheet will only display a static line of Date and Time. I thought
it will be a better presentation if a virutal clock can be installed as an
add-in in Excel worksheet.

Thanks :-)

Regards,
Derek

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Displaying of a cool virtual clock in Excel

Hi, thanks a lot ... that was cool and I like it a lot :-)

"FSt1" wrote:

hi
create a small form in excel with a single text box. then put this code in
the form.
Private Sub CB1_Click()
Load UserForm1
UserForm1.Show 0
Call xlClock
End Sub
Private Sub ShowxlClock()
If UserForm1.Visible = True Then
UserForm1.tb1.Value = Format(Now, "hh:mm:ss AM/PM")
Application.OnTime Now + TimeSerial(0, 0, 1), "xlClock"
Else
Exit Sub
End If
End Sub
you can install it as an addin. i have it in my personal.xls
i run this from a custom icon on my custom toolbar.

regards
FSt1

"Derek Foo" wrote:

Hi, anyone knows how to install and display a virtual clock in an Excel
worksheet?

Or rather, is that possible at all? Coz using the command of =NOW() in an
Excel worksheet will only display a static line of Date and Time. I thought
it will be a better presentation if a virutal clock can be installed as an
add-in in Excel worksheet.

Thanks :-)

Regards,
Derek

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
Change EXCEL Clock to Standard Clock or Military Time YoMarie Excel Worksheet Functions 4 April 29th 07 08:39 PM
Uploading excel files: Useful and Cool Albert Excel Discussion (Misc queries) 1 September 14th 06 05:19 PM
Creating a virtual link in Excel [email protected] Excel Discussion (Misc queries) 0 August 31st 06 03:08 PM
Can anyone tell me something really cool that Excel can do? Kevin Excel Discussion (Misc queries) 4 March 7th 06 03:15 AM
_Really_ cool charts in Excel possible? [email protected] Charts and Charting in Excel 1 January 24th 05 05:27 AM


All times are GMT +1. The time now is 04:40 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"