Results 1 to 7 of 7
  1. #1
    Gold Lounger
    Join Date
    Jan 2004
    Location
    Italy
    Posts
    3,245
    Thanks
    0
    Thanked 0 Times in 0 Posts

    insert time on real time... (2000 sr-1)

    is possible to insert a real time clock (format 00:00:00) in a caption of a userform(vba)?

  2. #2
    Gold Lounger
    Join Date
    Jan 2004
    Location
    Italy
    Posts
    3,245
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: insert time on real time... (2000 sr-1)

    tks Steve for post but not have a good experience...

  3. #3
    WS Lounge VIP sdckapr's Avatar
    Join Date
    Jul 2002
    Location
    Pittsburgh, Pennsylvania, USA
    Posts
    11,225
    Thanks
    14
    Thanked 342 Times in 335 Posts

    Re: insert time on real time... (2000 sr-1)

    <P ID="edit" class=small>(Edited by sdckapr on 28-Sep-06 16:02. Updated it)</P>I think You can use Application.ontime to update it minute by minute (or second by second as your time indicates), but would not really recommend it.

    If you want an example of it let me know.

    Steve

  4. #4
    Gold Lounger
    Join Date
    Jan 2004
    Location
    Italy
    Posts
    3,245
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: insert time on real time... (2000 sr-1)

    yes...example for learn, if si possible.
    Tks.

  5. #5
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: insert time on real time... (2000 sr-1)

    See the attached workbook. But I agree with Steve that it is not recommended - using an OnTimer procedure can interfere with the normal working of the workbook.

  6. #6
    Platinum Lounger
    Join Date
    Feb 2002
    Location
    A Magic Forest in Deepest, Darkest Kent
    Posts
    5,681
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: insert time on real time... (2000 sr-1)

    Yes, I see your point, I really think Sal21 should be careful as it is really struggling and not show the current time very well.

    Sal be warned and I have a high end spec PC running here <img src=/S/yep.gif border=0 alt=yep width=15 height=15>
    Jerry

  7. #7
    Gold Lounger
    Join Date
    Jan 2004
    Location
    Italy
    Posts
    3,245
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: insert time on real time... (2000 sr-1)

    tks... pheraphs you have realy right not good idea to insert this timer...
    Sorry for your work...

Posting Permissions

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