Consulting

Results 1 to 2 of 2

Thread: Update time for the userform.caption

  1. #1

    Red face Update time for the userform.caption

    Dear Expert

    May I know how can I update my userform.caption time?
    The code below is the time I open the userform and the time is not updated (maintain and stay).

    code:
    --------
    Private Sub UserForm_Activate()
    frmTable.Caption = "East Coast Seafood " & Now()
    End Sub

    May I know how can I update the time?

    Thanks

    Peter

  2. #2
    Mac Moderator VBAX Guru mikerickson's Avatar
    Joined
    May 2007
    Location
    Davis CA
    Posts
    2,778
    Userforms don't display time unless you refresh the .Caption at intervals.

    OnTime would be what I looked at.

Posting Permissions

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