+ Reply to Thread
Results 1 to 2 of 2

Textbox with Time format > 24 hours

  1. #1
    Registered User
    Join Date
    05-01-2013
    Location
    Cov, England
    MS-Off Ver
    Excel 2003
    Posts
    60

    Textbox with Time format > 24 hours

    Hi all

    I have a textbox on my userform where a user enters time >24 hours

    These total time durations can be as high as 75:25:11 (Hours:minutes:seconds) or as high as 752:45:51

    Is there a way that i can validate the textbox so that so that time can only be entered as [h]:mm:ss? or add a validation check code to my command button which adds the data which will display an error message if the wrong format has been entered?

    I know that VBA doesnt like the excel format [h]:mm:ss

  2. #2
    Registered User
    Join Date
    05-01-2013
    Location
    Cov, England
    MS-Off Ver
    Excel 2003
    Posts
    60

    Re: Textbox with Time format > 24 hours

    any help please?

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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