+ Reply to Thread
Results 1 to 3 of 3

Display constant time in textbox

  1. #1
    Registered User
    Join Date
    11-28-2003
    Posts
    39

    Display constant time in textbox

    I woul like to display the time in a textbox like a clock, where you can see the seconds counting.
    Just like my watch.

    textbox11=now() just gives the the time the form was opened and does not continue to count.

    Any suggestion?

    I think i need a OnCurrent event like in access.

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258
    Hello MikeWild2000,

    Unfortunately VBA does not have a timer control like Visual Basic. You can create a Timer rather easily using the API. This is an interrupt driven timer like will update just like a clock. I have the code if you are interested. You can contact via private message or e-mail me at [email protected].

    Sincerely,
    Leith Ross

  3. #3
    Registered User
    Join Date
    11-28-2003
    Posts
    39
    Hi Leith,

    Thanks for your reply i found the answer at:

    http://xcelfiles.homestead.com/API_02.html

    Thanks again!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1