LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Display date and time

How can i display the date and time at real-time?Below is the script. Please
advice..

Private Sub txtTimeDAte_Change()

Dim MyDate

MyDate = Now ' MyDate contains the current system date.

txtTimeDAte.Text = Format(MyDate, "dd,mmm yy hh:mm:ss AMPM ")

End Sub


Julian
 
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
How do I display data refresh date and time Shree Excel Worksheet Functions 2 October 27th 09 04:23 PM
Date time control does not display correctly paros789 Excel Discussion (Misc queries) 0 April 7th 09 01:39 PM
Date and Time display Chiropter Setting up and Configuration of Excel 3 February 23rd 07 07:54 PM
if a cell contains text, then display date and time cassandra112 Excel Discussion (Misc queries) 7 August 9th 06 10:10 PM
how do I display username, current time & date on the status bar Gary Tan Excel Programming 4 July 25th 06 06:29 AM


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