Results 1 to 11 of 11

Thread: Column headers throws errors

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #6
    VBAX Sage SamT's Avatar
    Joined
    Oct 2006
    Location
    Near Columbia
    Posts
    7,709
    Location
    Mix and Match
    If Target.Count > 1 Then Exit Sub
    IF Not Target IsNumeric Then Exit Sub
    IF Len(Trim(Target)) <> 4 Then Exit Sub
    'That one is tricky if you use 900 for 0900
    If (Target > 2400) Or (Target < 1) Then Exit Sub
    And how do you deal with 12:59 AM ((Target = 59)

    Why not just enter the time as mil-time? IE; 13:30 or 0:59, Both of which Excel recognizes as Mil-time and stores the value as Windows Serial time values?
    Last edited by SamT; 08-05-2013 at 06:52 PM. Reason: typos
    Please take the time to read the Forum FAQ

Posting Permissions

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